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, HCD_POINT *point1, HCD_POINT *point2, HCD_POINT *point3)

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

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

No additional details. See Show_Circular_Chord().

Brief Index      Full Index      Events Index      I.M. Reference