-// Copyright (C) 2018-2019 CEA/DEN, EDF R&D
+// Copyright (C) 2018-2023 CEA, EDF
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General 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;
};