X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2FSketchPlugin_Line.h;h=eaa3330f3737ee5dbfdb63ee257a74c4e94b063d;hb=8f10db487ef409d859a62aa6e2235a17d9b56723;hp=f6d895974b981354c6eda92f0ba9c2f95f4a2dd8;hpb=33b3a43ad2266cb044e4232c902344842adbba7c;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/SketchPlugin_Line.h b/src/SketchPlugin/SketchPlugin_Line.h index f6d895974..eaa3330f3 100644 --- a/src/SketchPlugin/SketchPlugin_Line.h +++ b/src/SketchPlugin/SketchPlugin_Line.h @@ -12,6 +12,8 @@ #include #include +class GeomAPI_Pnt2d; + /**\class SketchPlugin_Line * \ingroup Plugins * \brief Feature for creation of the new part in PartSet. @@ -57,7 +59,7 @@ class SketchPlugin_Line : public SketchPlugin_SketchEntity /// Return the distance between the feature and the point /// \param thePoint the point - virtual double distanceToPoint(const std::shared_ptr& thePoint); + double distanceToPoint(const std::shared_ptr& thePoint); /// Called on change of any argument-attribute of this object SKETCHPLUGIN_EXPORT virtual void attributeChanged(const std::string& theID);