: AIS_Shape(TopoDS_Shape()), myResult(theResult), myIsSketchMode(false)
{
boost::shared_ptr<GeomAPI_Shape> aShapePtr = ModelAPI_Tools::shape(theResult);
: AIS_Shape(TopoDS_Shape()), myResult(theResult), myIsSketchMode(false)
{
boost::shared_ptr<GeomAPI_Shape> aShapePtr = ModelAPI_Tools::shape(theResult);
- boost::shared_ptr<GeomAPI_Wire> aWirePtr =
- boost::dynamic_pointer_cast<GeomAPI_Wire>(aShapePtr);
+ boost::shared_ptr<GeomAPI_PlanarEdges> aWirePtr =
+ boost::dynamic_pointer_cast<GeomAPI_PlanarEdges>(aShapePtr);
const Standard_Integer theMode)
{
boost::shared_ptr<GeomAPI_Shape> aShapePtr = ModelAPI_Tools::shape(myResult);
const Standard_Integer theMode)
{
boost::shared_ptr<GeomAPI_Shape> aShapePtr = ModelAPI_Tools::shape(myResult);
myOriginalShape = aShapePtr->impl<TopoDS_Shape>();
Set(aShapePtr->impl<TopoDS_Shape>());
AIS_Shape::Compute(thePresentationManager, thePresentation, theMode);
myOriginalShape = aShapePtr->impl<TopoDS_Shape>();
Set(aShapePtr->impl<TopoDS_Shape>());
AIS_Shape::Compute(thePresentationManager, thePresentation, theMode);