Edit_Circle

Functions

void DEdit_Circle (HC_KEY key, const HC_DPOINT *point1, const HC_DPOINT *point2, const HC_DPOINT *point3)
 Similar to Edit_Circle(), but operates on double-precision data. More...
 
void Edit_Circle (HC_KEY key, const HC_POINT *point1, const HC_POINT *point2, const HC_POINT *point3)
 Generates a flat, infinitely thin, colored-in circular object. More...
 

Detailed Description

Function Documentation

◆ DEdit_Circle()

void DEdit_Circle ( HC_KEY  key,
const HC_DPOINT *  point1,
const HC_DPOINT *  point2,
const HC_DPOINT *  point3 
)

Similar to Edit_Circle(), but operates on double-precision data.

Parameters
key- key to a circle object.
point1- An x-y-z triplet for the coordinates of one of three on the circumference of the circle. (A simple array of three elements may also be used in most languages.) Passed by reference always.
point2- As above.
point3- As above.

◆ Edit_Circle()

void Edit_Circle ( HC_KEY  key,
const HC_POINT *  point1,
const HC_POINT *  point2,
const HC_POINT *  point3 
)

Generates a flat, infinitely thin, colored-in circular object.

Parameters
key- key to a circle object.
point1- An x-y-z triplet for the coordinates of one of three on the circumference of the circle. (A simple array of three elements may also be used in most languages.) Passed by reference always.
point2- As above.
point3- As above.

DETAILS

Edit_Circle() lets you modify a circle as it sits in the database. You don't have to delete and reinsert it from scratch.

NOTES

HOOPS uses a more compact structure to store a 2d circles (a circle with z=0 for start, middle and end). If and when such 2d circles are edited, all z values passed in for the start, middle and end points must be 0. In other words, if you need to make a 2d circle into a 3d circle, you have to delete and reinsert.

See also
Insert_Ellipse, Insert_Circular_Arc, Insert_Circular_Chord, Insert_Circular_Wedge, Insert_Elliptical_Arc, Insert_Polygon, Set_Visibility, Set_Edge_Pattern, Set_Edge_Weight, Set_Face_Pattern, Set_Color, Renumber_Key.