/// Returns Z direction vector
GEOMAPI_EXPORT std::shared_ptr<GeomAPI_Dir> norm() const;
+ /// Returns whether the shape is planar
+ GEOMAPI_EXPORT virtual bool isPlanar() const;
+
/// Set working plane
/// \param theOrigin origin of the plane axis
/// \param theDirX X direction of the plane axis
- /// \param theDirY Y direction of the plane axis
/// \param theNorm normal direction of the plane axis
GEOMAPI_EXPORT void setPlane(const std::shared_ptr<GeomAPI_Pnt>& theOrigin,
const std::shared_ptr<GeomAPI_Dir>& theDirX,
- const std::shared_ptr<GeomAPI_Dir>& theDirY,
const std::shared_ptr<GeomAPI_Dir>& theNorm);
+ /// Returns whether the shapes are equal
+ GEOMAPI_EXPORT
+ virtual bool isEqual(const std::shared_ptr<GeomAPI_Shape> theShape) const;
+
private:
std::shared_ptr<GeomAPI_Ax3> myPlane;