Brief Index      Full Index      Events Index      I.M. Reference

Show_Circular_Arc


Functions

void Show_Circular_Arc (HC_KEY key, HC_POINT *point1, HC_POINT *point2, HC_POINT *point3)
void DShow_Circular_Arc (HC_KEY key, HCD_POINT *point1, HCD_POINT *point2, HCD_POINT *point3)

Function Documentation

void Show_Circular_Arc ( HC_KEY  key,
HC_POINT *  point1,
HC_POINT *  point2,
HC_POINT *  point3 
)

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

Parameters:
key - Unique numeric identifier pointing to a circular arc 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 arc 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 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 arc was created (via Insert_Circular_Arc() ).

NOTES

RESTRICTIONS

See also:
Insert_Circular_Arc, Show_Selection_Element, Get_Selection, Begin_Contents_Search, Compute_Coordinates.

void DShow_Circular_Arc ( HC_KEY  key,
HCD_POINT *  point1,
HCD_POINT *  point2,
HCD_POINT *  point3 
)

Similar to Show_Circular_Arc(), 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 arc 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_Arc().

Brief Index      Full Index      Events Index      I.M. Reference