Functions | |
void | Show_Ellipse (HC_KEY key, HC_POINT *center, HC_POINT *major, HC_POINT *minor) |
void | DShow_Ellipse (HC_KEY key, HC_DPOINT *center, HC_DPOINT *major, HC_DPOINT *minor) |
Returns the three points used to define the ellipse, as referenced by a key.
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. |
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() ).
void DShow_Ellipse | ( | HC_KEY | key, |
HC_DPOINT * | center, | ||
HC_DPOINT * | major, | ||
HC_DPOINT * | minor | ||
) |
Similar to Show_Ellipse(), but returns double-precision values.
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. |