Brief Index      Full Index      I.M. Reference

Edit_Line


Functions

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

Function Documentation

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.

See also:
Insert_Line, Insert_Ink, Insert_Polyline, Set_Line_Pattern, Set_Line_Weight, Set_Color, Set_Visibility, Renumber_Key.

Main Index
Brief Index      Full Index      I.M. Functions