Salome HOME
Correct case when the weak-named attribute is dumped in Geom mode: geometrical repres...
[modules/shaper.git] / src / GeomAPI / GeomAPI_Pnt.h
index 3af09c1275ed7e7480adab7d5d78390239c5992d..d06d5d9fb1be8a0a210c697c611be2d8be89ce1a 100644 (file)
@@ -76,6 +76,13 @@ class GeomAPI_Pnt : public GeomAPI_Interface
   GEOMAPI_EXPORT
   bool isEqual(const std::shared_ptr<GeomAPI_Pnt>& theOther) const;
 
+  /// Returns \c true, if the current point is less than theOther.
+  /// The point is less than other, if X coordinate is less.
+  /// In case of X's are equal, if Y is less than other.
+  /// If Y's are equal too, compare Z's.
+  GEOMAPI_EXPORT
+  bool isLess(const std::shared_ptr<GeomAPI_Pnt>& theOther) const;
+
   /// Projects a point to the plane defined by the origin and 2 axes vectors in this plane
   GEOMAPI_EXPORT
   std::shared_ptr<GeomAPI_Pnt2d> to2D(const std::shared_ptr<GeomAPI_Pnt>& theOrigin,
@@ -91,4 +98,7 @@ class GeomAPI_Pnt : public GeomAPI_Interface
   void translate(const std::shared_ptr<GeomAPI_Dir>& theDir, double theDist);
 };
 
+//! Pointer on the object
+typedef std::shared_ptr<GeomAPI_Pnt> GeomPointPtr;
+
 #endif