X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPartSet%2FPartSet_Tools.h;h=e614074a828550745b584f46ec607058121c9045;hb=c910e9e2e9e68bc1a9f857d555a0201c2c4c75f1;hp=854dd3b0eb1d5b5ae86e9c48bdf71b520ba75188;hpb=7e85caf42f4f1b8f04444afc76a039036f27de9f;p=modules%2Fshaper.git diff --git a/src/PartSet/PartSet_Tools.h b/src/PartSet/PartSet_Tools.h index 854dd3b0e..e614074a8 100644 --- a/src/PartSet/PartSet_Tools.h +++ b/src/PartSet/PartSet_Tools.h @@ -145,6 +145,15 @@ class PARTSET_EXPORT PartSet_Tools static std::shared_ptr point3D(std::shared_ptr thePoint2D, CompositeFeaturePtr theSketch); + /// Finds a line (arc or circle) by given edge + /// \param theShape an edge + /// \param theObject a selected result object + /// \param theSketch a sketch feature + /// \return result of found feature or NULL + static ResultPtr findFixedObjectByExternal(const TopoDS_Shape& theShape, + const ObjectPtr& theObject, + CompositeFeaturePtr theSketch); + /// Creates a line (arc or circle) by given edge /// Created line will have fixed constraint /// \param theShape an edge