]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/GeomAPI/GeomAPI_Edge.h
Salome HOME
Copyright update 2022
[modules/shaper.git] / src / GeomAPI / GeomAPI_Edge.h
index b319cc26d783f6538920606a6c8851bead9f30f7..27cb4b28de5690ba46ef7a38f619d0d946447551 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2019  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2022  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -98,6 +98,10 @@ public:
   GEOMAPI_EXPORT
   bool isEqual(const std::shared_ptr<GeomAPI_Shape> theEdge) const;
 
+  /// Change parametric range of the curve
+  GEOMAPI_EXPORT
+  void setRange(const double& theFirst, const double& theLast);
+
   /// Returns range of parameter on the curve
   GEOMAPI_EXPORT
   void getRange(double& theFirst, double& theLast) const;
@@ -131,6 +135,10 @@ public:
   GEOMAPI_EXPORT
   void setLastPointTolerance(const double theTolerance);
 
+  GEOMAPI_EXPORT double firstPointTolerance() const;
+
+  GEOMAPI_EXPORT double lastPointTolerance() const;
+
   /// Return middle point on the edge
   GEOMAPI_EXPORT
   virtual std::shared_ptr<GeomAPI_Pnt> middlePoint() const;