* \brief Listens the changes of SketchPlugin features and transforms the Constraint
* feature into the format understandable by SolveSpace library.
*
* \brief Listens the changes of SketchPlugin features and transforms the Constraint
* feature into the format understandable by SolveSpace library.
*
* \param[in] theFeature sketch feature to be changed
* \return \c true if the feature changed successfully
*/
* \param[in] theFeature sketch feature to be changed
* \return \c true if the feature changed successfully
*/
/** \brief Removes a constraint from the manager
* \param[in] theConstraint constraint to be removed
* \return \c true if the constraint removed successfully
*/
/** \brief Removes a constraint from the manager
* \param[in] theConstraint constraint to be removed
* \return \c true if the constraint removed successfully
*/
/** \brief Adds or updates a workplane in the manager
* \param[in] theSketch the feature to create or update workplane
* \return \c true if the workplane changed successfully
* \remark Type of theSketch is not verified inside
*/
/** \brief Adds or updates a workplane in the manager
* \param[in] theSketch the feature to create or update workplane
* \return \c true if the workplane changed successfully
* \remark Type of theSketch is not verified inside
*/
/** \brief Removes a workplane from the manager.
* All groups based on such workplane will be removed too.
* \param[in] theSketch the feature to be removed
* \return \c true if the workplane removed successfully
*/
/** \brief Removes a workplane from the manager.
* All groups based on such workplane will be removed too.
* \param[in] theSketch the feature to be removed
* \return \c true if the workplane removed successfully
*/
private:
/** \brief Searches list of groups which interact with specified feature
* \param[in] theFeature object to be found
* \param[out] theGroups list of group indexes interacted with the feature
*/
private:
/** \brief Searches list of groups which interact with specified feature
* \param[in] theFeature object to be found
* \param[out] theGroups list of group indexes interacted with the feature
*/
std::set<Slvs_hGroup>& theGroupIDs) const;
/** \brief Searches in the list of groups the workplane which constains specified feature
* \param[in] theFeature object to be found
* \return workplane containing the feature
*/
std::set<Slvs_hGroup>& theGroupIDs) const;
/** \brief Searches in the list of groups the workplane which constains specified feature
* \param[in] theFeature object to be found
* \return workplane containing the feature
*/
- boost::shared_ptr<ModelAPI_CompositeFeature> findWorkplane(
- boost::shared_ptr<SketchPlugin_Feature> theFeature) const;
+ std::shared_ptr<ModelAPI_CompositeFeature> findWorkplane(
+ std::shared_ptr<SketchPlugin_Feature> theFeature) const;
/// true if computation is performed and all "updates" are generated by this algo
/// and needs no recomputation
bool myIsComputed;
/// true if computation is performed and all "updates" are generated by this algo
/// and needs no recomputation
bool myIsComputed;