Brief Index      Full Index      I.M. Reference

Show_Line


Functions

void Show_Line (HC_KEY key, float *xa, float *ya, float *za, float *xb, float *yb, float *zb)
void DShow_Line (HC_KEY key, float *xa, float *ya, float *za, float *xb, float *yb, float *zb)

Function Documentation

void Show_Line ( HC_KEY  key,
float *  xa,
float *  ya,
float *  za,
float *  xb,
float *  yb,
float *  zb 
)

Returns the endpoints of the line, as referenced by a key.

Parameters:
key - Unique numeric identifier pointing to a line in the database.
xa - Coordinates for one endpoint of the line segment. Returned to user. Passed by reference always.
ya -
za -
xb - Coordinates for the other endpoint of the line segment. Returned to user. Passed by reference always.
yb -
zb -

DETAILS

This routine finds the coordinates of the line that corresponds to the given key. You could use this ability, for example, to extract data needed to construct a line parallel to an existing line. The key for the line might come from Show_Selection_Element() or Find_Contents() , or it might have been saved by your program when the line was created (via KInsert_Line() ).

NOTES

RESTRICTIONS

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

void DShow_Line ( HC_KEY  key,
float *  xa,
float *  ya,
float *  za,
float *  xb,
float *  yb,
float *  zb 
)

Similar to Show_Line(), 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 line in the database.
xa - Coordinates for one endpoint of the line segment. Returned to user. Passed by reference always.
ya -
za -
xb - Coordinates for the other endpoint of the line segment. Returned to user. Passed by reference always.
yb -
zb -

DETAILS

No additional details. See Show_Line().

Main Index
Brief Index      Full Index      I.M. Functions