question: protected boolean isAnyTestComponentInTargetInterior ( Geometry testGeom ) { List coords = ComponentCoordinateExtracter . getCoordinates ( testGeom ) ; for ( Iterator i = coords . iterator ( ) ; i . hasNext ( ) ; ) { Coordinate p = ( Coordinate ) i . next ( ) ; int loc = targetPointLocator . locate ( p ) ; if ( loc == Location . INTERIOR ) return true ; } return false ; }
target:  Tests whether any component of the test Geometry intersects the interior of the target geometry. Handles test geometries with both linear and point components.