Salome HOME
refs #80 - Sketch base GUI: create/draw point, circle and arc
[modules/shaper.git] / src / GeomAPI / GeomAPI_Lin2d.h
index 32f55d3ed79d08a8fe9e76f173405a83f953cd00..2344648ea230aeb51b2471e89522e75494b007df 100644 (file)
@@ -31,6 +31,8 @@ public:
   const boost::shared_ptr<GeomAPI_Pnt2d> intersect(const boost::shared_ptr<GeomAPI_Lin2d>& theLine) const;
   /// Project point on line
   const boost::shared_ptr<GeomAPI_Pnt2d> project(const boost::shared_ptr<GeomAPI_Pnt2d>& thePoint) const;
+  /// Computes the cross product of the line direction and a vector from the line start point to the point
+  double crossed(const boost::shared_ptr<GeomAPI_Pnt2d>& thePoint) const;
 };
 
 #endif