X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FConstructionPlugin%2FConstructionPlugin_Plane.h;h=b82f1e8c3f8b238b1fd2b804618c5e096ded9923;hb=4d6bb9de0e54f09a9bbacc94a058cb7cd437d535;hp=317d6f348232239c1b4c3c5037c5f3085d23d183;hpb=0c0573f4321deb94f9c5d3182a34fb672cc6e1f0;p=modules%2Fshaper.git diff --git a/src/ConstructionPlugin/ConstructionPlugin_Plane.h b/src/ConstructionPlugin/ConstructionPlugin_Plane.h index 317d6f348..b82f1e8c3 100644 --- a/src/ConstructionPlugin/ConstructionPlugin_Plane.h +++ b/src/ConstructionPlugin/ConstructionPlugin_Plane.h @@ -31,7 +31,7 @@ class ConstructionPlugin_Plane : public ModelAPI_Feature, public GeomAPI_ICustom /// default color for a plane inline static const std::string& DEFAULT_COLOR() { - static const std::string CONSTRUCTION_PLANE_COLOR("#32FF32"); + static const std::string CONSTRUCTION_PLANE_COLOR("150,150,180"); return CONSTRUCTION_PLANE_COLOR; } @@ -104,7 +104,10 @@ class ConstructionPlugin_Plane : public ModelAPI_Feature, public GeomAPI_ICustom std::shared_ptr theDefaultPrs); protected: + /// Creates a new plane by copy of face plane with translation along the normal + /// to the specified distance. std::shared_ptr createPlaneByFaceAndDistance(); + /// Creates a new plane by general equation. std::shared_ptr createPlaneByGeneralEquation(); };