com.esri.arcgis.carto
Interface IFeatureCursorBuffer2

All Superinterfaces:
Serializable
All Known Implementing Classes:
FeatureCursorBuffer

public interface IFeatureCursorBuffer2
extends Serializable

Provides access to additional functions and configuration capabilities for the buffer generation.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux


Method Summary
 void buffer(IFeatureClassName pNewLocationName)
          Buffers features to a new and existing feature class.
 void bufferToGraphics(ICompositeGraphicsLayer pCompositeGraphicsLayer)
          Buffers the selected features and stores them into a composite graphics layer.
 IEnumGeometry getBufferedGeometry()
          Enumerator of buffered features.
 void graphicsLayer2(IGraphicsLayer pGraphicsLayer, boolean selected, int[] pSelectedElements, boolean[] bHasPolygons)
          Graphics layer of elements to buffer (overrides FeatureCursor).
 void setBufferSpatialReferenceByRef(ISpatialReference rhs1)
          Specifies in which spatial reference system should be buffered.
 void setCancelTrackByRef(ITrackCancel rhs1)
          TrackCancel used when buffering.
 void setDataFrameSpatialReferenceByRef(ISpatialReference rhs1)
          Specifies the spatial reference system of the data frame.
 void setDissolve(boolean rhs1)
          Indicates if overlapping buffered features should be dissolved.
 void setFeatureCursorByRef(IFeatureCursor rhs1)
          Feature cursor of features to buffer (overrides GraphicsLayer).
 void setFieldDistance(String rhs1)
          Field specifying distance to buffer on.
 void setPolygonBufferType(int rhs1)
          Indicates how to buffer polygon features.
 void setRingDistance(int numberOfRings, double rhs2)
          Multiple rings specifying distance to buffer on.
 void setSourceSpatialReferenceByRef(ISpatialReference rhs1)
          Specifies the spatial reference system of the source data (calls IFeatureCursorBuffer::SpatialReference()).
 void setSpatialReferenceByRef(ISpatialReference rhs1)
          Projection of buffered features.
 void setTargetSpatialReferenceByRef(ISpatialReference rhs1)
          Specifies the target spatial reference system.
 void setUnits(int mapUnits, int rhs2)
          Conversion units, from map units to buffer units.
 void setValueDistance(double rhs1)
          Constant buffer distance.
 

Method Detail

setFeatureCursorByRef

void setFeatureCursorByRef(IFeatureCursor rhs1)
                           throws IOException,
                                  AutomationException
Feature cursor of features to buffer (overrides GraphicsLayer).

Product Availability

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

Parameters:
rhs1 - A reference to a com.esri.arcgis.geodatabase.IFeatureCursor (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

graphicsLayer2

void graphicsLayer2(IGraphicsLayer pGraphicsLayer,
                    boolean selected,
                    int[] pSelectedElements,
                    boolean[] bHasPolygons)
                    throws IOException,
                           AutomationException
Graphics layer of elements to buffer (overrides FeatureCursor).

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
pGraphicsLayer - A reference to a com.esri.arcgis.carto.IGraphicsLayer (in)
selected - The selected (in)
pSelectedElements - The pSelectedElements (out: use single element array)
bHasPolygons - The bHasPolygons (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDissolve

void setDissolve(boolean rhs1)
                 throws IOException,
                        AutomationException
Indicates if overlapping buffered features should be dissolved.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
rhs1 - The rhs1 (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setValueDistance

void setValueDistance(double rhs1)
                      throws IOException,
                             AutomationException
Constant buffer distance.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
rhs1 - The rhs1 (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFieldDistance

void setFieldDistance(String rhs1)
                      throws IOException,
                             AutomationException
Field specifying distance to buffer on.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
rhs1 - The rhs1 (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setRingDistance

void setRingDistance(int numberOfRings,
                     double rhs2)
                     throws IOException,
                            AutomationException
Multiple rings specifying distance to buffer on.

Product Availability

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

Parameters:
numberOfRings - The numberOfRings (in)
rhs2 - The rhs2 (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSpatialReferenceByRef

void setSpatialReferenceByRef(ISpatialReference rhs1)
                              throws IOException,
                                     AutomationException
Projection of buffered features.

Product Availability

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

Parameters:
rhs1 - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setUnits

void setUnits(int mapUnits,
              int rhs2)
              throws IOException,
                     AutomationException
Conversion units, from map units to buffer units.

Product Availability

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

Parameters:
mapUnits - A com.esri.arcgis.system.esriUnits constant (in)
rhs2 - A com.esri.arcgis.system.esriUnits constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPolygonBufferType

void setPolygonBufferType(int rhs1)
                          throws IOException,
                                 AutomationException
Indicates how to buffer polygon features.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
rhs1 - A com.esri.arcgis.carto.esriBufferType constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCancelTrackByRef

void setCancelTrackByRef(ITrackCancel rhs1)
                         throws IOException,
                                AutomationException
TrackCancel used when buffering.

Product Availability

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

Parameters:
rhs1 - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBufferedGeometry

IEnumGeometry getBufferedGeometry()
                                  throws IOException,
                                         AutomationException
Enumerator of buffered features.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
A reference to a com.esri.arcgis.geometry.IEnumGeometry
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

buffer

void buffer(IFeatureClassName pNewLocationName)
            throws IOException,
                   AutomationException
Buffers features to a new and existing feature class.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
pNewLocationName - A reference to a com.esri.arcgis.geodatabase.IFeatureClassName (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

bufferToGraphics

void bufferToGraphics(ICompositeGraphicsLayer pCompositeGraphicsLayer)
                      throws IOException,
                             AutomationException
Buffers the selected features and stores them into a composite graphics layer.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
pCompositeGraphicsLayer - A reference to a com.esri.arcgis.carto.ICompositeGraphicsLayer (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSourceSpatialReferenceByRef

void setSourceSpatialReferenceByRef(ISpatialReference rhs1)
                                    throws IOException,
                                           AutomationException
Specifies the spatial reference system of the source data (calls IFeatureCursorBuffer::SpatialReference()).

Product Availability

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

Parameters:
rhs1 - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBufferSpatialReferenceByRef

void setBufferSpatialReferenceByRef(ISpatialReference rhs1)
                                    throws IOException,
                                           AutomationException
Specifies in which spatial reference system should be buffered.

Product Availability

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

Parameters:
rhs1 - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTargetSpatialReferenceByRef

void setTargetSpatialReferenceByRef(ISpatialReference rhs1)
                                    throws IOException,
                                           AutomationException
Specifies the target spatial reference system.

Product Availability

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

Parameters:
rhs1 - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDataFrameSpatialReferenceByRef

void setDataFrameSpatialReferenceByRef(ISpatialReference rhs1)
                                       throws IOException,
                                              AutomationException
Specifies the spatial reference system of the data frame.

Product Availability

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

Parameters:
rhs1 - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.