Functions | |
void | Show_Elliptical_Arc (HC_KEY key, HC_POINT *center, HC_POINT *major, HC_POINT *minor, float *start, float *end) |
void | DShow_Elliptical_Arc (HC_KEY key, HCD_POINT *center, HCD_POINT *major, HCD_POINT *minor, float *start, float *end) |
void Show_Elliptical_Arc | ( | HC_KEY | key, | |
HC_POINT * | center, | |||
HC_POINT * | major, | |||
HC_POINT * | minor, | |||
float * | start, | |||
float * | end | |||
) |
Returns the three points and two distances used to define the elliptical arc referenced by a key.
key | - Unique numeric identifier pointing to an elliptical arc in the database. | |
center | - An x-y-z triplet for the coordinates of the center of an 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 for the coordinates of the intersection of the ellipse and its major axis. Returned to user. Passed by reference always. | |
minor | - An x-y-z triplet for the coordinates of the intersection of the ellipse and its minor axis. Returned to user. Passed by reference always. | |
start | - The normalized distance along the ellipse's perimeter, in the direction from the major to minor axis, where the arc starts. Returned to user. Passed by reference always. | |
end | - The normalized distance along the perimeter, in the direction from the major to minor axis, where the arc ends. Returned to user. Passed by reference always. |
void DShow_Elliptical_Arc | ( | HC_KEY | key, | |
HCD_POINT * | center, | |||
HCD_POINT * | major, | |||
HCD_POINT * | minor, | |||
float * | start, | |||
float * | end | |||
) |
Similar to Show_Elliptical_Arc(), but accepts and/or returns double-precision values. This command can only be used when the application code includes the HOOPS double-precision header, hcd.h.
key | - Unique numeric identifier pointing to an elliptical arc in the database. | |
center | - An x-y-z triplet for the coordinates of the center of an 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 for the coordinates of the intersection of the ellipse and its major axis. Returned to user. Passed by reference always. | |
minor | - An x-y-z triplet for the coordinates of the intersection of the ellipse and its minor axis. Returned to user. Passed by reference always. | |
start | - The normalized distance along the ellipse's perimeter, in the direction from the major to minor axis, where the arc starts. Returned to user. Passed by reference always. | |
end | - The normalized distance along the perimeter, in the direction from the major to minor axis, where the arc ends. Returned to user. Passed by reference always. |