Brief Index      Full Index      Events Index      I.M. Reference

Show_Circular_Chord

Functions

void Show_Circular_Chord (HC_KEY key, HC_POINT *point1, HC_POINT *point2, HC_POINT *point3)
 
void DShow_Circular_Chord (HC_KEY key, HC_DPOINT *point1, HC_DPOINT *point2, HC_DPOINT *point3)
 

Detailed Description

Function Documentation

void Show_Circular_Chord ( HC_KEY  key,
HC_POINT point1,
HC_POINT point2,
HC_POINT point3 
)

Returns the three points used to define the circular chord, as referenced by a key.

Parameters
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.

DETAILS

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() ).

NOTES

RESTRICTIONS

See Also
Insert_Circular_Chord, Show_Selection_Element, Get_Selection, Begin_Contents_Search, Compute_Coordinates.
void DShow_Circular_Chord ( HC_KEY  key,
HC_DPOINT *  point1,
HC_DPOINT *  point2,
HC_DPOINT *  point3 
)

Similar to Show_Circular_Chord(), but returns double-precision values.

Parameters
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.

Brief Index      Full Index      Events Index      I.M. Reference