/// \brief Use plugin manager for features creation
SketchPlugin_ConstraintSplit();
- /// \return map of base points and features;
- //SKETCHPLUGIN_EXPORT const std::map<AttributePtr, FilletFeatures> pointsFeaturesMap() const {
- // return myPointFeaturesMap;
- //};
-
/// Returns the AIS preview
SKETCHPLUGIN_EXPORT virtual AISObjectPtr getAISObject(AISObjectPtr thePrevious);
/// \param theCoincidenceToPoint [out] coincidence to point be connected to new feature
void getConstraints(std::set<std::shared_ptr<ModelAPI_Feature>>& theFeaturesToDelete,
std::set<std::shared_ptr<ModelAPI_Feature>>& theFeaturesToUpdate,
- std::map<std::shared_ptr<ModelAPI_Feature>, IdToPointPair>& theTangentFeatures,
- std::map<std::shared_ptr<ModelAPI_Feature>, IdToPointPair>& theCoincidenceToFeature/*,
- std::map<std::shared_ptr<ModelAPI_Feature>, IdToPointPair>& theCoincidenceToPoint*/);
+ std::map<std::shared_ptr<ModelAPI_Feature>, IdToPointPair>& theCoincidenceToFeature);
/// Obtains references to feature point attributes and to feature,
/// e.g. for feature line: 1st container is
const std::set<ResultPtr>& theFeatureResults,
const FeaturePtr& theSplitFeature);
- /// Move tangency constraint to the nearest split feature that has a coincidence to the tangent
- /// \param theTangentFeatures tangencies to feature to be connected to nearest feature
- /// \param theFurtherCoincidences a list of points where coincidences is built
- void updateTangentConstraintsToFeature(
- const std::map<std::shared_ptr<ModelAPI_Feature>, IdToPointPair>& theTangentFeatures,
- const std::set<std::shared_ptr<GeomDataAPI_Point2D> >& theFurtherCoincidences);
-
-
/// Move constraints from base feature to given feature
/// \param theFeature a base feature
/// \param theRefsToFeature list of attributes referenced to base feature
std::set<std::shared_ptr<ModelAPI_Attribute> > getEdgeAttributes(
const std::shared_ptr<ModelAPI_Feature>& theFeature);
+#ifdef _DEBUG
/// Return feature name, kind, point attribute values united in a string
/// \param theFeature an investigated feature
/// \return string value
std::string getFeatureInfo(const std::shared_ptr<ModelAPI_Feature>& theFeature,
const bool isUseAttributesInfo = true);
+#endif
};
#endif