return METHOD_ATTR;
}
+ /// Attribute name for creation method.
+ inline static const std::string& CREATION_METHOD_BY_PLANE_AND_POINT()
+ {
+ static const std::string METHOD_ATTR("by_plane_and_point");
+ return METHOD_ATTR;
+ }
+
/// attribute name for first point
inline static const std::string& POINT_FIRST()
{
return ATTR_ID;
}
+ /// Attribute name for plane.
+ inline static const std::string& PLANE()
+ {
+ static const std::string ATTR_ID("plane");
+ return ATTR_ID;
+ }
+
+ /// Attribute name for point.
+ inline static const std::string& POINT()
+ {
+ static const std::string ATTR_ID("point");
+ return ATTR_ID;
+ }
+
/// Returns a minimal length for axis
inline static const double MINIMAL_LENGTH() { return 1.e-5; }
/// Creates a new axis by point and direction
void createAxisByPointAndDirection();
void createAxisByLine();
+ void createAxisByPlaneAndPoint();
};