Salome HOME
Issue #2998: Add help description for automatic creation of constraints
[modules/shaper.git] / src / GeomAPI / GeomAPI_Cylinder.h
index da78aeb36a87e889be33b5e10a84d2b4baec434a..0bb627ef6206a4da912c8f75c6df7f9f9b085176 100644 (file)
@@ -59,6 +59,10 @@ public:
   /// Return \c true is the cylinder is infinite
   GEOMAPI_EXPORT bool isInfinite() const;
 
+  /// Returns true if cylinders have same axis and radii.
+  GEOMAPI_EXPORT bool isCoincident(const std::shared_ptr<GeomAPI_Cylinder> theCylinder,
+                                   const double theTolerance = 1.e-7);
+
 private:
   double myHeight;
 };