*/
void RemoveGeometryGroups();
+
+ /**
+ * Add new boundary polygon to calculation case.
+ */
+ bool AddBoundaryPolygon( HYDROData_BCPolygon theObject ) [bool ( const opencascade::handle<HYDROData_BCPolygon>& )];
+ %MethodCode
+ Handle(HYDROData_BCPolygon) aRef =
+ Handle(HYDROData_BCPolygon)::DownCast( createHandle( a0 ) );
+ if ( !aRef.IsNull() )
+ {
+ Py_BEGIN_ALLOW_THREADS
+ sipRes = sipSelfWasArg ? sipCpp->HYDROData_CalculationCase::AddBoundaryPolygon( aRef ):
+ sipCpp->AddBoundaryPolygon( aRef );
+ Py_END_ALLOW_THREADS
+ }
+ %End
+
+ /**
+ * Returns all boundary polygons of calculation case.
+ */
+ HYDROData_SequenceOfObjects GetBoundaryPolygons() const;
+
+ /**
+ * Removes boundary polygon from calculation case.
+ */
+ void RemoveBoundaryPolygon( HYDROData_BCPolygon theObject )
+ [void ( const opencascade::handle<HYDROData_BCPolygon>& )];
+ %MethodCode
+ Handle(HYDROData_BCPolygon) aRef =
+ Handle(HYDROData_BCPolygon)::DownCast( createHandle( a0 ) );
+ if ( !aRef.IsNull() )
+ {
+ Py_BEGIN_ALLOW_THREADS
+ if ( sipSelfWasArg ) {
+ sipCpp->HYDROData_CalculationCase::RemoveBoundaryPolygon( aRef );
+ } else {
+ sipCpp->RemoveBoundaryPolygon( aRef );
+ }
+ Py_END_ALLOW_THREADS
+ }
+ %End
/**
* Sets reference boundary polyline object for calculation case.