- GeomAPI_Lin2d(const boost::shared_ptr<GeomAPI_Pnt2d>& theStart,
- const boost::shared_ptr<GeomAPI_Pnt2d>& theEnd);
+ GEOMAPI_EXPORT
+ GeomAPI_Lin2d(const std::shared_ptr<GeomAPI_Pnt2d>& theStart,
+ const std::shared_ptr<GeomAPI_Pnt2d>& theEnd);
+
+ /// Returns point on the line (first point)
+ GEOMAPI_EXPORT
+ std::shared_ptr<GeomAPI_Pnt2d> location();
+
+ /// Returns a line direction
+ GEOMAPI_EXPORT
+ std::shared_ptr<GeomAPI_Dir2d> direction();