Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
#1112 tab key doesn't work on the last field of left panels
[modules/shaper.git]
/
src
/
ConstructionPlugin
/
ConstructionPlugin_Plane.h
diff --git
a/src/ConstructionPlugin/ConstructionPlugin_Plane.h
b/src/ConstructionPlugin/ConstructionPlugin_Plane.h
index 317d6f348232239c1b4c3c5037c5f3085d23d183..b82f1e8c3f8b238b1fd2b804618c5e096ded9923 100644
(file)
--- 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()
{
/// 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;
}
return CONSTRUCTION_PLANE_COLOR;
}
@@
-104,7
+104,10
@@
class ConstructionPlugin_Plane : public ModelAPI_Feature, public GeomAPI_ICustom
std::shared_ptr<GeomAPI_ICustomPrs> theDefaultPrs);
protected:
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();
std::shared_ptr<GeomAPI_Shape> createPlaneByFaceAndDistance();
+ /// Creates a new plane by general equation.
std::shared_ptr<GeomAPI_Shape> createPlaneByGeneralEquation();
};
std::shared_ptr<GeomAPI_Shape> createPlaneByGeneralEquation();
};