X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAPI%2FGeomAPI_Cylinder.h;h=0bb627ef6206a4da912c8f75c6df7f9f9b085176;hb=ea593bc59e7e9461f6c4e2afd3f24d621edb1011;hp=da78aeb36a87e889be33b5e10a84d2b4baec434a;hpb=c4eab94a20a0d93100549a210582d46409fec1cc;p=modules%2Fshaper.git diff --git a/src/GeomAPI/GeomAPI_Cylinder.h b/src/GeomAPI/GeomAPI_Cylinder.h index da78aeb36..0bb627ef6 100644 --- a/src/GeomAPI/GeomAPI_Cylinder.h +++ b/src/GeomAPI/GeomAPI_Cylinder.h @@ -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 theCylinder, + const double theTolerance = 1.e-7); + private: double myHeight; };