Functions | |
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. More... | |
void | DShow_Elliptical_Arc (HC_KEY key, HC_DPOINT *center, HC_DPOINT *major, HC_DPOINT *minor, float *start, float *end) |
Similar to Show_Elliptical_Arc(), but returns double-precision values. More... | |
void DShow_Elliptical_Arc | ( | HC_KEY | key, |
HC_DPOINT * | center, | ||
HC_DPOINT * | major, | ||
HC_DPOINT * | minor, | ||
float * | start, | ||
float * | end | ||
) |
Similar to Show_Elliptical_Arc(), but returns double-precision values.
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. |
No additional details. See Show_Elliptical_Arc().
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. |
This routine finds the three points and two lengths used to define the elliptical arc that corresponds to the given key. You could use this routine, for example, to extract data needed to construct a line tangent to an existing arc. The key for the arc 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_Elliptical_Arc() ).