Show_Line

Functions

void DShow_Line (HC_KEY key, double *xa, double *ya, double *za, double *xb, double *yb, double *zb)
 Similar to Show_Line(), but returns double-precision values. More...
 
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. More...
 

Detailed Description

Function Documentation

◆ DShow_Line()

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

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

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

◆ Show_Line()

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

NOTES

RESTRICTIONS

See also
Insert_Line