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, double *xa, double *ya, double *za, double *xb, double *yb, double *zb) |
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.
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 | - |
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() ).
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.
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 | - |
No additional details. See Show_Line().