Functions | |
void | Show_Circular_Chord (HC_KEY key, HC_POINT *point1, HC_POINT *point2, HC_POINT *point3) |
void | DShow_Circular_Chord (HC_KEY key, HCD_POINT *point1, HCD_POINT *point2, HCD_POINT *point3) |
Returns the three points used to define the circular chord, as referenced by a key.
key | - Unique numeric identifier pointing to a circular chord in the database. |
point1 | - An x-y-z triplet for the coordinates of one of three on the circumference of the circle. (A simple array of three elements can also be used in most languages.) Returned to user. Passed by reference always. |
point2 | - As above. |
point3 | - As above. |
This routine finds the three points used to define the chord 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 chord. The key for the chord might come from Show_Selection_Element() or Find_Contents() , or it might have been saved by your program when the chord was created (via Insert_Circlular_Chord() ).
void DShow_Circular_Chord | ( | HC_KEY | key, |
HCD_POINT * | point1, | ||
HCD_POINT * | point2, | ||
HCD_POINT * | point3 | ||
) |
Similar to Show_Circular_Chord(), but accepts and/or returns double-precision values. This command can only be used when the application source includes the HOOPS double-precision header, hcd.h.
key | - Unique numeric identifier pointing to a circular chord in the database. |
point1 | - An x-y-z triplet for the coordinates of one of three on the circumference of the circle. (A simple array of three elements can also be used in most languages.) Returned to user. Passed by reference always. |
point2 | - As above. |
point3 | - As above. |
No additional details. See Show_Circular_Chord().