return MY_SKETCH_ARC_ID;
}
+ inline static const std::string& ARC_TYPE()
+ {
+ static const std::string TYPE("ArcType");
+ return TYPE;
+ }
+
+ inline static const std::string& ARC_TYPE_TANGENT()
+ {
+ static const std::string TYPE("Tangent");
+ return TYPE;
+ }
+
+ static const std::string& TANGENT_POINT_ID()
+ {
+ static const std::string TANGENT_PNT("ArcTangentPoint");
+ return TANGENT_PNT;
+ }
+
/// Central 2D point of the circle which contains the arc
inline static const std::string& CENTER_ID()
{
private:
/// Returns true if all obligatory attributes are initialized
bool isFeatureValid();
+
+ /// Update attributes like passed point, radius and angle of the arc
+ void updateDependentAttributes();
+
+ /// Compose constraints to build tangency arc
+ void tangencyArcConstraints();
+
+ /// Project end point of arc to the circle
+ void projectEndPoint();
};
#endif