com.esri.arcgis.geometry
Interface IGeometricBufferSourceSink

All Superinterfaces:
Serializable
All Known Implementing Classes:
IGeometricBufferSourceSinkProxy

public interface IGeometricBufferSourceSink
extends Serializable

Client-supplied interface that provides support for buffering a group of geometries by different distances.

Description

This interface is new at ArcGIS 9.3.

Product Availability

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


Method Summary
 void readNext(int[] geomID, IGeometry[] nextGeometry, double[] pDistance)
          Reads the next geometry (along with a client specified geometry id) and distance from the source - or returns a nil geometry when at the end.
 void writeNext(int geomID, IGeometry pBufferedGeometry)
          Writes the next output buffer to its destination.
 

Method Detail

readNext

void readNext(int[] geomID,
              IGeometry[] nextGeometry,
              double[] pDistance)
              throws IOException,
                     AutomationException
Reads the next geometry (along with a client specified geometry id) and distance from the source - or returns a nil geometry when at the end.

Product Availability

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

Parameters:
geomID - The geomID (out: use single element array)
nextGeometry - A reference to a com.esri.arcgis.geometry.IGeometry (out: use single element array)
pDistance - The pDistance (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeNext

void writeNext(int geomID,
               IGeometry pBufferedGeometry)
               throws IOException,
                      AutomationException
Writes the next output buffer to its destination. The client id is valid when buffers have not been dissolved or exploded.

Product Availability

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

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