theObject->IsKind( STANDARD_TYPE(HYDROData_NaturalObject) );
}
-void HYDROData_Tool::ExploreShapeToShapes( const TopoDS_Shape& theInShape,
- const TopAbs_ShapeEnum& theExpType,
- TopTools_SequenceOfShape& theOutShapes )
-{
- theOutShapes.Clear();
-
- if ( theInShape.IsNull() )
- return;
-
- TopExp_Explorer anExp( theInShape, theExpType );
- for ( ; anExp.More(); anExp.Next() )
- {
- TopoDS_Shape anExpShape = anExp.Current();
- theOutShapes.Append( anExpShape );
- }
-}
-