return CYLINDRICAL_FACE_ATTR;
}
+ /// Returns a minimal length for axis
inline static const double MINIMAL_LENGTH() { return 1.e-5; }
/// Creates a new part document if needed
std::shared_ptr<GeomAPI_ICustomPrs> theDefaultPrs);
protected:
+ /// Creates a new axis by two defined points
void createAxisByTwoPoints();
+ /// Creates a new axis as copy of cylindrical face axis
void createAxisByCylindricalFace();
};
std::shared_ptr<GeomAPI_ICustomPrs> theDefaultPrs);
protected:
+ /// Creates a new plane by copy of face plane with translation along the normal
+ /// to the specified distance.
std::shared_ptr<GeomAPI_Shape> createPlaneByFaceAndDistance();
+ /// Creates a new plane by general equation.
std::shared_ptr<GeomAPI_Shape> createPlaneByGeneralEquation();
};
/// Returns the kind of a feature
CONSTRUCTIONPLUGIN_EXPORT virtual const std::string& getKind();
+ /// Point kind
inline static const std::string& ID()
{
static const std::string CONSTRUCTION_POINT_KIND("Point");