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
Working with pre-selection in all operations
[modules/shaper.git]
/
src
/
GeomDataAPI
/
GeomDataAPI_Point2D.h
diff --git
a/src/GeomDataAPI/GeomDataAPI_Point2D.h
b/src/GeomDataAPI/GeomDataAPI_Point2D.h
index 02249c24f69edd0e2f484df23dfea1111457dcb8..6189e87d21ab221a2945c6fe792b37064e1f664e 100644
(file)
--- a/
src/GeomDataAPI/GeomDataAPI_Point2D.h
+++ b/
src/GeomDataAPI/GeomDataAPI_Point2D.h
@@
-17,7
+17,7
@@
class GeomAPI_Pnt2d;
class GeomDataAPI_Point2D : public ModelAPI_Attribute
{
class GeomDataAPI_Point2D : public ModelAPI_Attribute
{
-public:
+
public:
/// Defines the double value
virtual void setValue(const double theX, const double theY) = 0;
/// Defines the point
/// Defines the double value
virtual void setValue(const double theX, const double theY) = 0;
/// Defines the point
@@
-31,15
+31,22
@@
public:
virtual boost::shared_ptr<GeomAPI_Pnt2d> pnt() = 0;
/// Returns the type of this class of attributes
virtual boost::shared_ptr<GeomAPI_Pnt2d> pnt() = 0;
/// Returns the type of this class of attributes
- static inline std::string type() {return std::string("Point2D");}
+ static inline std::string type()
+ {
+ return std::string("Point2D");
+ }
/// Returns the type of this class of attributes, not static method
/// Returns the type of this class of attributes, not static method
- virtual std::string attributeType() {return type();}
+ virtual std::string attributeType()
+ {
+ return type();
+ }
-protected:
+
protected:
/// Objects are created for features automatically
GeomDataAPI_Point2D()
/// Objects are created for features automatically
GeomDataAPI_Point2D()
- {}
+ {
+ }
};
#endif
};
#endif