X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FConstructionPlugin%2FConstructionPlugin_Axis.h;h=ffaa95d04ed0614e0a1de31334fdd197250b9544;hb=f387a286673e6be6e5c065f3bbf3c19ed5981a30;hp=1775300ebda82e65cbdd043fdc84073e78d6eb35;hpb=3ee83c7b4a29bfb47ad40090dea7cc27f80c2b47;p=modules%2Fshaper.git diff --git a/src/ConstructionPlugin/ConstructionPlugin_Axis.h b/src/ConstructionPlugin/ConstructionPlugin_Axis.h index 1775300eb..ffaa95d04 100644 --- a/src/ConstructionPlugin/ConstructionPlugin_Axis.h +++ b/src/ConstructionPlugin/ConstructionPlugin_Axis.h @@ -58,6 +58,7 @@ class ConstructionPlugin_Axis : public ModelAPI_Feature, public GeomAPI_ICustomP 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 @@ -77,7 +78,9 @@ class ConstructionPlugin_Axis : public ModelAPI_Feature, public GeomAPI_ICustomP std::shared_ptr theDefaultPrs); protected: + /// Creates a new axis by two defined points void createAxisByTwoPoints(); + /// Creates a new axis as copy of cylindrical face axis void createAxisByCylindricalFace(); };