HC_Show_Ellipse
-
void
HC_Show_Ellipse(Key key, Point *center, Point *major, Point *minor) - void HC_Show_Ellipse(Key key, Point center, Point major, Point minor)
Returns the three points used to define the ellipse, as referenced by a key.
This routine finds the three points used to define the ellipse that corresponds to the given key. You could use this ability, for example, to extract data needed to construct a line tangent to an existing ellipse. The key for the ellipse might come from Show_Selection_Element() or Find_Contents() , or it might have been saved by your program when the ellipse was created (via Insert_Ellipse() ).
HC_Insert_Ellipse, HC_Show_Selection_Element, HC_Get_Selection, HC_Begin_Contents_Search, HC_Compute_Coordinates.Parameters
key: Unique numeric identifier pointing to an ellipse in the database.
center: An x-y-z triplet for the center used to define the ellipse. (A simple array of three elements may also be used in most languages.) Returned to user. Passed by reference always.
major: An x-y-z triplet defining the major(longest) axis of the ellipse. Returned to user. Passed by reference always.
minor: An x-y-z triplet defining the minor(shortest) axis of the ellipse. Returned to user. Passed by reference always.