public static boolean crosses ( Geometry geometry1 , Geometry geometry2 , SpatialReference spatialReference ) { OperatorCrosses op = ( OperatorCrosses ) factory . getOperator ( Operator . Type . Crosses ) ; boolean result = op . execute ( geometry1 , geometry2 , spatialReference , null ) ; return result ; }
Indicates if one geometry crosses another geometry .