Buffers an array of geometries by each distance specified in an array of distances. Geometries buffered at a given distance can optionally be unioned together.
Buffer(SpatialReference InSpatialReference, SpatialReference BufferSpatialReference, SpatialReference OutSpatialReference, double[] Distances, Unit Unit, boolean UnionResults, Geometry[] InGeometryArray)
Parameter |
Description |
InSpatialReference |
SpatialReference of the geometries in the InGeometryArray.
Cannot be null. |
BufferSpatialReference |
The SpatialReference in which the geometries
are buffered. Can be null. |
OutSpatialReference |
SpatialReference of the geometry returned from
the buffer operation. Can be null. |
Distances |
An array of double values. Each
value specifies a distance to buffer the input geometries. |
Unit |
The units for each distance specified in the
Distances array. |
UnionResults |
If false, each buffer polygon will be added
to the output Geometry array separately. If
true, then all geometries buffered at a given distance will be unioned
into a single (possibly multi-part) polygon and included in the output
Geometry array. |
InGeometryArray |
The array of Geometry to be buffered by each distance in the array Distances. All geometries are assumed to be in the coordinate system InSpatialReference.
|
Return Value
An array of Geometry (Geometry[]) of type Polygon.
Remarks
Examples