public GeometryBagBuilder( IEnumerable<Geometry> geometries, SpatialReference spatialReference )
Public Function New( _ ByVal geometries As IEnumerable(Of Geometry), _ Optional ByVal spatialReference As SpatialReference _ )
Parameters
- geometries
- The list of geometries to create the GeometryBag.
- spatialReference
- (Optional) The SpatialReference. The default value is null. If spatialReference is null, then the spatial reference of the geometries in the GeometryBag will also be null. This could lead to unexpected behavior if a geometry in the list has a non-null spatial reference. If spatialReference is not null and a geometry in the list of geometries has a different spatial reference, the geometry will be projected to spatialReference before it is inserted into the GeometryBag. />.
Return Value
A GeometryBag.