Brief Index      Full Index      Events Index      I.M. Reference

Edit_Circle_By_Radius

Functions

void Edit_Circle_By_Radius (HC_KEY key, const HC_POINT *center, double radius, const HC_POINT *vector)
 

Detailed Description

Function Documentation

void Edit_Circle_By_Radius ( HC_KEY  key,
const HC_POINT center,
double  radius,
const HC_POINT vector 
)

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

Parameters
key- key to a circle object.
center- 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.
radius- Length of the radius of the circle.
vector- Vector that is perpendicular to the plane of the circle.

DETAILS

Edit_Circle_By_Radius() 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.

Brief Index      Full Index      Events Index      I.M. Reference