ArcObjects Library Reference (Geometry)  

IGeometryServer3.BufferGeodesic Method

Constructs true buffer regions around Points, lines and polygons using true geodesic distances and directions.

[Visual Basic .NET]
Public Function BufferGeodesic ( _
    ByVal pInSR As ISpatialReference, _
    ByVal pOutSR As ISpatialReference, _
    ByVal pDistances As IDoubleArray, _
    ByVal bufferDeviation As Double, _
    ByVal pLinearDistanceUnit As ILinearUnit, _
    ByVal bUnion As Boolean, _
    ByVal pInGeometries As IGeometryArray _
) As IGeometryArray
[C#]
public IGeometryArray BufferGeodesic (
    ISpatialReference pInSR,
    ISpatialReference pOutSR,
    IDoubleArray pDistances,
    double bufferDeviation,
    ILinearUnit pLinearDistanceUnit,
    bool bUnion,
    IGeometryArray pInGeometries
);
[C++]
HRESULT BufferGeodesic(
  ISpatialReference* pInSR,
  ISpatialReference* pOutSR,
  IDoubleArray* pDistances,
  double bufferDeviation,
  ILinearUnit* pLinearDistanceUnit,
  VARIANT_BOOL bUnion,
  IGeometryArray* pInGeometries,
  IGeometryArray** ppBufferedGeometries
);
[C++]

Parameters

pInSR

  pInSR is a parameter of type ISpatialReference

pOutSR

  pOutSR is a parameter of type ISpatialReference

pDistances

  pDistances is a parameter of type IDoubleArray

bufferDeviation   bufferDeviation is a parameter of type double pLinearDistanceUnit

  pLinearDistanceUnit is a parameter of type ILinearUnit

bUnion   bUnion is a parameter of type VARIANT_BOOL pInGeometries

  pInGeometries is a parameter of type IGeometryArray

ppBufferedGeometries [out, retval]

  ppBufferedGeometries is a parameter of type IGeometryArray

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

If geometries are in geographic coordinate system, then geodesic needs to be set to true in order to generate a buffer polygon using a geodesic distance. The bufferSR input parameter will be ignored when geodesic is set to true.

 

 

See Also

IGeometryServer3 Interface