tests whether all components of the test geometry are contained in the interior of the target geometry . handles both linear and point components . concode_field_sep PointOnGeometryLocator targetPointLocator concode_elem_sep PreparedPolygon prepPoly concode_field_sep boolean isAnyTestComponentInTarget concode_elem_sep boolean isAllTestComponentsInTarget concode_elem_sep boolean isAnyTestComponentInTargetInterior concode_elem_sep boolean isAnyTargetComponentInAreaTest
boolean function ( Geometry arg0 ) { List loc0 = ComponentCoordinateExtracter . getCoordinates ( arg0 ) ; for ( Iterator loc1 = loc0 . iterator ( ) ; loc1 . hasNext ( ) ; ) { Coordinate loc2 = ( Coordinate ) loc1 . next ( ) ; int loc3 = targetPointLocator . locate ( loc2 ) ; if ( loc3 != Location . INTERIOR ) return false ; } return true ; }