Arc Home


To add arcs into a drawing use following functions:

Function Meaning
lcBlockAddArc By center point, radius, start angle, included angle
lcBlockAddArc3P By start point, middle point, end point
lcBlockAddFillet As a fillet between two entities

An arc has properties and functions derived from base class and the following specific properties:

Property Type Access Meaning
LC_PROP_ENT_...    Base class properties
LC_PROP_ARC_X float RW Center point X
LC_PROP_ARC_Y float RW Center point Y
LC_PROP_ARC_RAD float RW Radius
LC_PROP_ARC_ANG0 float RW Start angle
LC_PROP_ARC_ANGARC float RW Arc included angle. Positive - counter-clockwise, negative - clockwise
LC_PROP_ARC_ANGEND float R End angle
LC_PROP_ARC_X0 float R Start point X
LC_PROP_ARC_Y0 float R Start point Y
LC_PROP_ARC_XMID float R Middle point X
LC_PROP_ARC_YMID float R Middle point Y
LC_PROP_ARC_XEND float R End point X
LC_PROP_ARC_YEND float R End point Y
LC_PROP_ARC_LEN float R Length
LC_PROP_ARC_CHLEN float R Chord length
LC_PROP_ARC_AREA float R Area
LC_PROP_ARC_CCW bool R "Counter-ClockWise direction" flag
LC_PROP_ARC_SECTOR bool RW "Draw as sector" flag
LC_PROP_ARC_RESOL int RW Resolution

Grips

0 - start point
1 - middle point
2 - end point
3 - center point
4 - rotation
5 - start angle
6 - end angle
7 - radius

If you point cursor on a grip 0,1,2 and click right button - context popup menu will appear:


See also

  Retrieve objects