computes the union of two geometries , either or both of which may be null . concode_field_sep int STRTREE_NODE_CAPACITY concode_elem_sep Collection inputPolys concode_elem_sep GeometryFactory geomFactory concode_field_sep List reduceToGeometries concode_elem_sep Geometry unionUsingEnvelopeIntersection concode_elem_sep Geometry bufferUnion concode_elem_sep Geometry bufferUnion concode_elem_sep Geometry unionActual concode_elem_sep Geometry binaryUnion concode_elem_sep Geometry binaryUnion concode_elem_sep Geometry getGeometry concode_elem_sep Geometry unionOptimized concode_elem_sep Geometry extractByEnvelope concode_elem_sep Geometry union concode_elem_sep Geometry union concode_elem_sep Geometry unionTree concode_elem_sep Geometry repeatedUnion concode_elem_sep Geometry restrictToPolygons
Geometry function ( Geometry arg0 , Geometry arg1 ) { if ( arg0 == null && arg1 == null ) return null ; if ( arg0 == null ) return ( Geometry ) arg1 . clone ( ) ; if ( arg1 == null ) return ( Geometry ) arg0 . clone ( ) ; return unionOptimized ( arg0 , arg1 ) ; }