int function ( ) { if ( isPointOnSegment ) return Location . BOUNDARY ; if ( ( crossingCount % 2 ) == 1 ) { return Location . INTERIOR ; } return Location . EXTERIOR ; }
gets the location of the point relative to the ring , polygon or multipolygon from which the processed segments were provided . this method only determines the correct location if all relevant segments must have been processed . concode_field_sep Coordinate p concode_elem_sep boolean isPointOnSegment concode_elem_sep int crossingCount concode_field_sep boolean isPointInPolygon concode_elem_sep boolean isOnSegment concode_elem_sep int locatePointInRing concode_elem_sep void countSegment