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