+
+ Arc(Vector pt1, double r, double a1, double a2, float th = 1.0, uint32_t c = 0, int l = LSSolid):
+ type(OTArc), id(Global::objectID++), layer(0), color(c), thickness(th),
+ style(l), selected(false), hovered(false), hitObject(false), p1(pt1), radius(r), angle1(a1), angle2(a2) {}
+};
+
+struct Dimension {
+ OBJECT_COMMON;
+ int subtype;
+ Point p1;
+ Point p2;
+ double offset;
+
+ Dimension(Vector pt1, Vector pt2, DimensionType dt = DTLinear, float th = 1.0, uint32_t c = 0x0000FF, int l = LSSolid):
+ type(OTDimension), id(Global::objectID++), layer(0), color(c), thickness(th),
+ style(l), selected(false), hovered(false), hitObject(false), subtype(dt), p1(pt1), p2(pt2) {}