//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
const GeomAPI_Shape::ShapeType& theType,
std::set<std::shared_ptr<ModelAPI_Result> >& theShapeResults);
const GeomAPI_Shape::ShapeType& theType,
std::set<std::shared_ptr<ModelAPI_Result> >& theShapeResults);
/// Searches a sub-shape in the results of the given features,
/// which contains the given point.
/// \param[in] theFeature feature, which results are being processed
/// \param[in] thePoint selected point which identifies the shape
/// \param[in] theShapeType type of the selected shape
/// Searches a sub-shape in the results of the given features,
/// which contains the given point.
/// \param[in] theFeature feature, which results are being processed
/// \param[in] thePoint selected point which identifies the shape
/// \param[in] theShapeType type of the selected shape
- /// \param[out] theResult applicable result
- /// \param[out] theSubshape sub-shape of the found result
+ /// \param[out] theSelected applicable result, sub-shape of the found result and
+ /// type of the point if it is a center of circle or a focus of ellipse
/// \return \c true if the result and its applicable sub-shape are found
MODELGEOMALGO_EXPORT bool findSubshapeByPoint(
const std::shared_ptr<ModelAPI_Feature>& theFeature,
const std::shared_ptr<GeomAPI_Pnt>& thePoint,
const GeomAPI_Shape::ShapeType& theShapeType,
/// \return \c true if the result and its applicable sub-shape are found
MODELGEOMALGO_EXPORT bool findSubshapeByPoint(
const std::shared_ptr<ModelAPI_Feature>& theFeature,
const std::shared_ptr<GeomAPI_Pnt>& thePoint,
const GeomAPI_Shape::ShapeType& theShapeType,