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
Issue #2998: Add help description for automatic creation of constraints
[modules/shaper.git]
/
src
/
GeomAPI
/
GeomAPI_Cylinder.h
diff --git
a/src/GeomAPI/GeomAPI_Cylinder.h
b/src/GeomAPI/GeomAPI_Cylinder.h
index da78aeb36a87e889be33b5e10a84d2b4baec434a..0bb627ef6206a4da912c8f75c6df7f9f9b085176 100644
(file)
--- 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;
/// 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;
};
private:
double myHeight;
};