+
+ Arc(): type(OTArc), id(Global::objectID++) {}
+ 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)
+ { p[0] = pt1; radius[0] = r; angle[0] = a1, angle[1] = a2; }
+};
+
+struct Dimension {
+ OBJECT_COMMON;
+ int subtype;
+ double offset;
+
+ Dimension(): type(OTDimension), id(Global::objectID++) {}
+ 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) { p[0] = pt1; p[1] = pt2; }