Brief Index      Full Index      Events 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)
 
void DEdit_Line (HC_KEY key, double xa, double ya, double za, double xb, double yb, double zb)
 

Detailed Description

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.
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.

Brief Index      Full Index      Events Index      I.M. Reference