HC_Edit_Line
-
void
HC_Edit_Line(Key key, double xa, double ya, double za, double xb, double yb, double zb) - void HC_Edit_Line(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.
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.
HC_Insert_Line, HC_Insert_Ink, HC_Insert_Polyline, HC_Set_Line_Pattern, HC_Set_Line_Weight, HC_Set_Color, HC_Set_Visibility, HC_Renumber_Key.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.