Defines a 2D arc.
struct Sy_ArcType { long item_Len; unsigned char item_Typ; char drwIndex; short sy_pen; short sy_layer; short pattern; long whole; long elliptic; long reflected; long filler_0; long origC; long r; long angle; long ratio; long begAng; long endAng; Coord begC; Coord endC; long filler_2; long filler_3; };
Members
- item_Len
- The length of the data record = sizeof(Sy_ArcType).
- item_Typ
- Constant SyArc.
- drwIndex
- Index in drawing order or 0.
- sy_pen
- Pen (color and line thickness) information or 0 if deleted.
- sy_layer
- The number of the fragment (layer) this element belongs to (Ranges 1 – 16).
- pattern
- The lineType info.
- whole
- True, if it is not a partial arc but a whole circle or ellipse.
- elliptic
- True, if it is a distorted, elliptical arc. In this case the ratio is taking into account.
- reflected
- On the smaller axis.
- filler_0
- Reserved, should be 0.
- origC
- The center point of the arc.
- r
- The radius in the model (in meters).
- angle
- The declination of the major axis in the model (in radians).
- ratio
- The ration of the axes: major axis : minor axis.
- begAng
- The angle of the starting point of a partial arc in the model (in radians).
- endAng
- The angle of the ending point of a partial arc in the model (in radians).
- begC
- The starting point in the model (in meters).
- endC
- The ending point in the model (in meters).
- filler_2
- Reserved, should be 0.
- filler_3
- Reserved, should be 0.
Remarks
This arc can consist of a lot of simple lines if it has a very complex line type. The arc can be a circle, a fraction of a circle, an ellipse or a fraction of an ellipse.
Requirements
- Version: API 10.0 or later, ModelerGraphics 8 or later
- Header: Symb2D.h