]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/GeomAPI/GeomAPI_Pln.h
Salome HOME
Added option to create Construction Point by intersection of line and plane.
[modules/shaper.git] / src / GeomAPI / GeomAPI_Pln.h
index 5c173838dcdfbac5a2b370daabb1ee4fdd52d1f2..c3cd27e7fa6b5d467e399f8adc28556b75f7b3d4 100644 (file)
@@ -56,6 +56,10 @@ class GeomAPI_Pln : public GeomAPI_Interface
   GEOMAPI_EXPORT
   bool isCoincident(const std::shared_ptr<GeomAPI_Pln> thePlane, const double theTolerance = 1.e-7);
 
+  /// Returns true if plane is parallel to theLine.
+  GEOMAPI_EXPORT
+  bool isParallel(const std::shared_ptr<GeomAPI_Lin> theLine);
+
   /// Returns intersection point or empty if no intersections
   GEOMAPI_EXPORT
   std::shared_ptr<GeomAPI_Pnt> intersect(const std::shared_ptr<GeomAPI_Lin>& theLine) const;