X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPartSet%2FPartSet_FeatureCirclePrs.cpp;h=426d9f1e5e42fc9623a5cbba6cf452b60be2a20e;hb=fce68b066f107f70d2d18a2d028e558dcbb1c3f8;hp=56e4f93b605b512ce3fa18de999cf42947f574ad;hpb=59b3db4a19c10138bf23f01f0c5ca7a28a3b8949;p=modules%2Fshaper.git diff --git a/src/PartSet/PartSet_FeatureCirclePrs.cpp b/src/PartSet/PartSet_FeatureCirclePrs.cpp index 56e4f93b6..426d9f1e5 100644 --- a/src/PartSet/PartSet_FeatureCirclePrs.cpp +++ b/src/PartSet/PartSet_FeatureCirclePrs.cpp @@ -92,22 +92,6 @@ PartSet_SelectionMode PartSet_FeatureCirclePrs::getNextMode(const std::string& t return aMode; } -boost::shared_ptr PartSet_FeatureCirclePrs::findPoint(FeaturePtr theFeature, - double theX, double theY) -{ - boost::shared_ptr aPoint2D; - if (!theFeature || theFeature->getKind() != getKind()) - return aPoint2D; - - boost::shared_ptr aData = theFeature->data(); - boost::shared_ptr aPoint = - boost::dynamic_pointer_cast(aData->attribute(CIRCLE_ATTR_CENTER)); - if (fabs(aPoint->x() - theX) < Precision::Confusion() && fabs(aPoint->y() - theY) < Precision::Confusion() ) - aPoint2D = aPoint; - - return aPoint2D; -} - void PartSet_FeatureCirclePrs::projectPointOnFeature(FeaturePtr theFeature, FeaturePtr theSketch, gp_Pnt& thePoint, Handle(V3d_View) theView, double& theX, double& theY)