for all rings in the input list , determine whether the ring is a shell or a hole and add it to the appropriate list . due to the way the directededges were linked , a ring is a shell if it is oriented cw , a hole otherwise . concode_field_sep CoordinateReferenceSystem crs concode_elem_sep List shellList concode_elem_sep int X concode_elem_sep int Y concode_elem_sep CGAlgorithms cga concode_elem_sep int Z concode_field_sep void add concode_elem_sep void add concode_elem_sep void placePolygonHoles concode_elem_sep EdgeRing findEdgeRingContaining concode_elem_sep List buildMaximalEdgeRings concode_elem_sep EdgeRing findShell concode_elem_sep List buildMinimalEdgeRings concode_elem_sep List getPolygons concode_elem_sep List computeSurfaces concode_elem_sep boolean containsPoint concode_elem_sep void placeFreeHoles
void function ( List arg0 , List arg1 , List arg2 ) { for ( Iterator loc0 = arg0 . iterator ( ) ; loc0 . hasNext ( ) ; ) { EdgeRing loc1 = ( EdgeRing ) loc0 . next ( ) ; if ( loc1 . isHole ( ) ) { arg2 . add ( loc1 ) ; } else { arg1 . add ( loc1 ) ; } } }