const int SKETCH_WIDTH = 4; /// the plane edge width
Handle(AIS_InteractiveObject) PartSet_Presentation::createPresentation(
- boost::shared_ptr<ModelAPI_Feature> theFeature,
- boost::shared_ptr<ModelAPI_Feature> theSketch,
+ FeaturePtr theFeature,
+ FeaturePtr theSketch,
const TopoDS_Shape& theShape,
Handle_AIS_InteractiveObject thePrevPrs)
{
}
Handle(AIS_InteractiveObject) PartSet_Presentation::createFeature(
- boost::shared_ptr<ModelAPI_Feature> theFeature,
+ FeaturePtr theFeature,
const TopoDS_Shape& theShape,
Handle_AIS_InteractiveObject thePrevPrs)
{
}
Handle(AIS_InteractiveObject) PartSet_Presentation::createSketchConstraintLength(
- boost::shared_ptr<ModelAPI_Feature> theFeature,
- boost::shared_ptr<ModelAPI_Feature> theSketch,
+ FeaturePtr theFeature,
+ FeaturePtr theSketch,
Handle(AIS_InteractiveObject) thePrevPrs)
{
if (!theFeature || !theSketch)
boost::dynamic_pointer_cast<ModelAPI_AttributeRefAttr>(aData->attribute(CONSTRAINT_ATTR_ENTITY_A));
if (!anAttr)
return thePrevPrs;
- boost::shared_ptr<ModelAPI_Feature> aFeature = anAttr->feature();
+ FeaturePtr aFeature = anAttr->feature();
if (!aFeature || aFeature->getKind() != SKETCH_LINE_KIND)
return thePrevPrs;