This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IB > IBufferConstruction Interface > IBufferConstruction.ConstructBuffers Method (ArcObjects .NET 10.4 SDK) |
Constructs buffer polygons at the specified distance for the set of input geometries. The input geometries can be a mix of polylines, polygons, points and multipoints.
[Visual Basic .NET] Public Sub ConstructBuffers ( _ ByVal pInputGeometries As IEnumGeometry, _ ByVal distance As Double, _ ByVal pOutputBuffers As IGeometryCollection _ )
[C#] public void ConstructBuffers ( IEnumGeometry pInputGeometries, double distance, IGeometryCollection pOutputBuffers );
[C++]
HRESULT ConstructBuffers(
IEnumGeometry* pInputGeometries,
double distance,
IGeometryCollection* pOutputBuffers
);
[C++]
Parameters pInputGeometries
pInputGeometries is a parameter of type IEnumGeometry distance distance is a parameter of type double pOutputBuffers
pOutputBuffers is a parameter of type IGeometryCollection
ConstructBuffers can be used with GeometryBag objects to buffer collections of geometries that are staged in memory. Alternatively, clients can provide implementations of IEnumGeometry and IGeometryCollection to avoid staging inputs and outputs in memory.
The behavior of this method is affected by the various properties exposed on the IBufferConstructionProperties interface. For example, you can define the DistanceOffsets property in order to have this method generate multiple buffers for each input geometry. You can control the quality of the curve approximations used during buffering using the DensifyDeviation property. You can specify that overlapping buffers will be unioned together before being returned using the UnionOverlappingBuffers property, etc.