Edit_Line
Functions | |
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. More... | |
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. More... | |
Detailed Description
Function Documentation
◆ DEdit_Line()
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.
- Parameters
-
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.
◆ Edit_Line()
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.
- Parameters
-
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.
DETAILS
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.
NOTES
If you only work in two dimensions, specify za and zb as zero.