|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.carto.FeatureCursorBuffer
public class FeatureCursorBuffer
A cursor for buffering features.
| Constructor Summary | |
|---|---|
FeatureCursorBuffer()
Constructs a FeatureCursorBuffer using ArcGIS Engine. |
|
FeatureCursorBuffer(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. FeatureCursorBuffer theFeatureCursorBuffer = (FeatureCursorBuffer) obj; |
|
| 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. |
boolean |
equals(Object o)
Compare this object with another |
IEnumGeometry |
getBufferedGeometry()
Enumerator of buffered features. |
static String |
getClsid()
getClsid. |
void |
graphicsLayer(IGraphicsLayer pGraphicsLayer,
boolean selected)
Graphics layer of elements to buffer (overrides FeatureCursor). |
void |
graphicsLayer2(IGraphicsLayer pGraphicsLayer,
boolean selected,
int[] pSelectedElements,
boolean[] bHasPolygons)
Graphics layer of elements to buffer (overrides FeatureCursor). |
int |
hashCode()
the hashcode for this object |
boolean |
isAdjustCirclesForProjection()
Indicates if circles are adjusted in Projected Coordinate Systems. |
boolean |
isGenerateRings()
Indicates if ring buffers (hollow) are created instead of disk buffers (filled). |
void |
setAdjustCirclesForProjection(boolean adjustCirclesForProjection)
Indicates if circles are adjusted in Projected Coordinate Systems. |
void |
setBufferSpatialReference(int rhs1)
Indicates which spatial reference should be used for the buffering process. |
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 |
setFeatureClassByRef(IFeatureClass rhs1)
Establishes the reference to the source Feature Class, if any. |
void |
setFeatureCursorByRef(IFeatureCursor rhs1)
Feature cursor of features to buffer (overrides GraphicsLayer). |
void |
setFieldDistance(String rhs1)
Field specifying distance to buffer on. |
void |
setGenerateRings(boolean generateRings)
Indicates if ring buffers (hollow) are created instead of disk buffers (filled). |
void |
setInputHasPolygons(boolean rhs1)
Tells the buffer object explicitly that the input shapes contain polygons. |
void |
setPolygonBufferType(int rhs1)
Indicates how to buffer polygon features. |
void |
setRingDistance(int numberOfRings,
double rhs2)
Multiple rings specifying distance to buffer on. |
void |
setSaveAsGraphics(boolean rhs1)
Buffer output type (graphics or file). |
void |
setSimplifyShapes(boolean rhs1)
Forces the buffer object to simplify the intermediate shapes during the buffer processing. |
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 |
setTargetSpatialReference(int rhs1)
Indicates which spatial reference should be used for the buffer output. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
|---|
getJintegraDispatch, release |
| Constructor Detail |
|---|
public FeatureCursorBuffer()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public FeatureCursorBuffer(Object obj)
throws IOException
FeatureCursorBuffer theFeatureCursorBuffer = (FeatureCursorBuffer) obj;
obj to FeatureCursorBuffer.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public void setFeatureCursorByRef(IFeatureCursor rhs1)
throws IOException,
AutomationException
setFeatureCursorByRef in interface IFeatureCursorBuffersetFeatureCursorByRef in interface IFeatureCursorBuffer2rhs1 - A reference to a com.esri.arcgis.geodatabase.IFeatureCursor (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void graphicsLayer(IGraphicsLayer pGraphicsLayer,
boolean selected)
throws IOException,
AutomationException
graphicsLayer in interface IFeatureCursorBufferpGraphicsLayer - A reference to a com.esri.arcgis.carto.IGraphicsLayer (in)selected - The selected (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDissolve(boolean rhs1)
throws IOException,
AutomationException
setDissolve in interface IFeatureCursorBuffersetDissolve in interface IFeatureCursorBuffer2rhs1 - The rhs1 (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setValueDistance(double rhs1)
throws IOException,
AutomationException
setValueDistance in interface IFeatureCursorBuffersetValueDistance in interface IFeatureCursorBuffer2rhs1 - The rhs1 (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFieldDistance(String rhs1)
throws IOException,
AutomationException
setFieldDistance in interface IFeatureCursorBuffersetFieldDistance in interface IFeatureCursorBuffer2rhs1 - The rhs1 (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setRingDistance(int numberOfRings,
double rhs2)
throws IOException,
AutomationException
setRingDistance in interface IFeatureCursorBuffersetRingDistance in interface IFeatureCursorBuffer2numberOfRings - The numberOfRings (in)rhs2 - The rhs2 (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSpatialReferenceByRef(ISpatialReference rhs1)
throws IOException,
AutomationException
setSpatialReferenceByRef in interface IFeatureCursorBuffersetSpatialReferenceByRef in interface IFeatureCursorBuffer2rhs1 - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setUnits(int mapUnits,
int rhs2)
throws IOException,
AutomationException
setUnits in interface IFeatureCursorBuffersetUnits in interface IFeatureCursorBuffer2mapUnits - A com.esri.arcgis.system.esriUnits constant (in)rhs2 - A com.esri.arcgis.system.esriUnits constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPolygonBufferType(int rhs1)
throws IOException,
AutomationException
setPolygonBufferType in interface IFeatureCursorBuffersetPolygonBufferType in interface IFeatureCursorBuffer2rhs1 - A com.esri.arcgis.carto.esriBufferType constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCancelTrackByRef(ITrackCancel rhs1)
throws IOException,
AutomationException
setCancelTrackByRef in interface IFeatureCursorBuffersetCancelTrackByRef in interface IFeatureCursorBuffer2rhs1 - A reference to a com.esri.arcgis.system.ITrackCancel (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnumGeometry getBufferedGeometry()
throws IOException,
AutomationException
getBufferedGeometry in interface IFeatureCursorBuffergetBufferedGeometry in interface IFeatureCursorBuffer2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void buffer(IFeatureClassName pNewLocationName)
throws IOException,
AutomationException
buffer in interface IFeatureCursorBufferbuffer in interface IFeatureCursorBuffer2pNewLocationName - A reference to a com.esri.arcgis.geodatabase.IFeatureClassName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void graphicsLayer2(IGraphicsLayer pGraphicsLayer,
boolean selected,
int[] pSelectedElements,
boolean[] bHasPolygons)
throws IOException,
AutomationException
graphicsLayer2 in interface IFeatureCursorBuffer2pGraphicsLayer - 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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void bufferToGraphics(ICompositeGraphicsLayer pCompositeGraphicsLayer)
throws IOException,
AutomationException
bufferToGraphics in interface IFeatureCursorBuffer2pCompositeGraphicsLayer - A reference to a com.esri.arcgis.carto.ICompositeGraphicsLayer (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSourceSpatialReferenceByRef(ISpatialReference rhs1)
throws IOException,
AutomationException
setSourceSpatialReferenceByRef in interface IFeatureCursorBuffer2rhs1 - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setBufferSpatialReferenceByRef(ISpatialReference rhs1)
throws IOException,
AutomationException
setBufferSpatialReferenceByRef in interface IFeatureCursorBuffer2rhs1 - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTargetSpatialReferenceByRef(ISpatialReference rhs1)
throws IOException,
AutomationException
setTargetSpatialReferenceByRef in interface IFeatureCursorBuffer2rhs1 - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDataFrameSpatialReferenceByRef(ISpatialReference rhs1)
throws IOException,
AutomationException
setDataFrameSpatialReferenceByRef in interface IFeatureCursorBuffer2rhs1 - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAdjustCirclesForProjection(boolean adjustCirclesForProjection)
throws IOException,
AutomationException
setAdjustCirclesForProjection in interface IBufferProcessingParameteradjustCirclesForProjection - The adjustCirclesForProjection (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isAdjustCirclesForProjection()
throws IOException,
AutomationException
isAdjustCirclesForProjection in interface IBufferProcessingParameterIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setGenerateRings(boolean generateRings)
throws IOException,
AutomationException
setGenerateRings in interface IBufferProcessingParametergenerateRings - The generateRings (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isGenerateRings()
throws IOException,
AutomationException
isGenerateRings in interface IBufferProcessingParameterIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSaveAsGraphics(boolean rhs1)
throws IOException,
AutomationException
setSaveAsGraphics in interface IBufferProcessingParameterrhs1 - The rhs1 (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFeatureClassByRef(IFeatureClass rhs1)
throws IOException,
AutomationException
setFeatureClassByRef in interface IBufferProcessingParameterrhs1 - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setBufferSpatialReference(int rhs1)
throws IOException,
AutomationException
setBufferSpatialReference in interface IBufferProcessingParameterrhs1 - A com.esri.arcgis.carto.esriBufferSpatialReferenceType constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTargetSpatialReference(int rhs1)
throws IOException,
AutomationException
setTargetSpatialReference in interface IBufferProcessingParameterrhs1 - A com.esri.arcgis.carto.esriBufferSpatialReferenceType constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setInputHasPolygons(boolean rhs1)
throws IOException,
AutomationException
setInputHasPolygons in interface IBufferProcessingParameterrhs1 - The rhs1 (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSimplifyShapes(boolean rhs1)
throws IOException,
AutomationException
setSimplifyShapes in interface IBufferProcessingParameterrhs1 - The rhs1 (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||