Functions | |
void | Edit_Line (HC_KEY key, double xa, double ya, double za, double xb, double yb, double zb) |
void | DEdit_Line (HC_KEY key, double xa, double ya, double za, double xb, double yb, double zb) |
void Edit_Line | ( | HC_KEY | key, |
double | xa, | ||
double | ya, | ||
double | za, | ||
double | xb, | ||
double | yb, | ||
double | zb | ||
) |
Edits a line object as it sits in the database, without deleting and reinserting.
key | - key to a line object. |
xa | - x-coordinate for one end of the line segment. |
ya | - y-coordinate for one end of the line segment. |
za | - z-coordinate for one end of the line segment. |
xb | - x-coordinate for other end of the line segment. |
yb | - y-coordinate for other end of the line segment. |
zb | - z-coordinate for other end of the line segment. |
This is a primitive way to insert lines into your scene. More flexible routines include Insert_Polyline(), which requires passing all the x-y-z values at once, and Insert_Ink(), which requires multiple calls to draw a line.
If you only work in two dimensions, specify za and zb as zero.
void DEdit_Line | ( | HC_KEY | key, |
double | xa, | ||
double | ya, | ||
double | za, | ||
double | xb, | ||
double | yb, | ||
double | zb | ||
) |
Similar to Edit_Line(), but operates on double-precision data.
key | - key to a line object. |
xa | - x-coordinate for one end of the line segment. |
ya | - y-coordinate for one end of the line segment. |
za | - z-coordinate for one end of the line segment. |
xb | - x-coordinate for other end of the line segment. |
yb | - y-coordinate for other end of the line segment. |
zb | - z-coordinate for other end of the line segment. |