code: public BooleanExpression relate(Geometry geometry, String matrix) {
          return relate(ConstantImpl.create(geometry), matrix);
      }
docs: Returns 1 (TRUE) if this geometric object is spatially related to anotherGeometry by testing
  for intersections between the interior, boundary and exterior of the two geometric objects
  as specified by the values in the intersectionPatternMatrix. This returns FALSE if all the
  tested intersections are empty except exterior (this) intersect exterior (another).
  
  @param geometry other geometry
  @param matrix matrix
  @return true, if this geometry is spatially related to the other