--- a/src/linetypes/circularprimitive.cpp Sun Jun 17 14:06:03 2018 +0300 +++ b/src/linetypes/circularprimitive.cpp Sun Jun 17 16:13:24 2018 +0300 @@ -179,6 +179,36 @@ return result; } +PrimitiveModel::Type LDCircularPrimitive::primitiveType() const +{ + return m_type; +} + +void LDCircularPrimitive::setPrimitiveType(PrimitiveModel::Type newType) +{ + changeProperty(&m_type, newType); +} + +int LDCircularPrimitive::segments() const +{ + return m_segments; +} + +void LDCircularPrimitive::setSegments(int newSegments) +{ + changeProperty(&m_segments, newSegments); +} + +int LDCircularPrimitive::divisions() const +{ + return m_divisions; +} + +void LDCircularPrimitive::setDivisions(int newDivisions) +{ + changeProperty(&m_divisions, newDivisions); +} + int LDCircularPrimitive::triangleCount(DocumentManager*) const { switch (m_type)