return implPtr<TopTools_DataMapOfShapeShape>()->Extent();
}
-bool GeomAPI_DataMapOfShapeShape::bind(std::shared_ptr<GeomAPI_Shape> theKey,
+bool GeomAPI_DataMapOfShapeShape::bind(std::shared_ptr<GeomAPI_Shape> theKey,
std::shared_ptr<GeomAPI_Shape> theItem)
{
bool flag(false);
- if (implPtr<TopTools_DataMapOfShapeShape>()->Bind(theKey->impl<TopoDS_Shape>(),
+ if (implPtr<TopTools_DataMapOfShapeShape>()->Bind(theKey->impl<TopoDS_Shape>(),
theItem->impl<TopoDS_Shape>()))
flag = true;
return flag;
return flag;
}
-const std::shared_ptr<GeomAPI_Shape>
+const std::shared_ptr<GeomAPI_Shape>
GeomAPI_DataMapOfShapeShape::find(std::shared_ptr<GeomAPI_Shape> theKey)
{
- std::shared_ptr<GeomAPI_Shape> aShape(new GeomAPI_Shape());
+ std::shared_ptr<GeomAPI_Shape> aShape(new GeomAPI_Shape());
aShape->setImpl(
new TopoDS_Shape(impl<TopTools_DataMapOfShapeShape>().Find(theKey->impl<TopoDS_Shape>())));
return aShape;
-}
+}
bool GeomAPI_DataMapOfShapeShape::unBind(std::shared_ptr<GeomAPI_Shape> theKey)
{