X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2FSketchPlugin_Line.h;h=eaa3330f3737ee5dbfdb63ee257a74c4e94b063d;hb=c5c4a4d92186640c86102e4bf04a4d9556578d07;hp=f6d895974b981354c6eda92f0ba9c2f95f4a2dd8;hpb=cc84ddead2c5dcb864d24de04df60b378f750824;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);