|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 problemspublic 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 problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void setFeatureCursorByRef(IFeatureCursor rhs1) throws IOException, AutomationException
setFeatureCursorByRef
in interface IFeatureCursorBuffer
setFeatureCursorByRef
in interface IFeatureCursorBuffer2
rhs1
- 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 IFeatureCursorBuffer
pGraphicsLayer
- 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 IFeatureCursorBuffer
setDissolve
in interface IFeatureCursorBuffer2
rhs1
- 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 IFeatureCursorBuffer
setValueDistance
in interface IFeatureCursorBuffer2
rhs1
- 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 IFeatureCursorBuffer
setFieldDistance
in interface IFeatureCursorBuffer2
rhs1
- 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 IFeatureCursorBuffer
setRingDistance
in interface IFeatureCursorBuffer2
numberOfRings
- 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 IFeatureCursorBuffer
setSpatialReferenceByRef
in interface IFeatureCursorBuffer2
rhs1
- 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 IFeatureCursorBuffer
setUnits
in interface IFeatureCursorBuffer2
mapUnits
- 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 IFeatureCursorBuffer
setPolygonBufferType
in interface IFeatureCursorBuffer2
rhs1
- 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 IFeatureCursorBuffer
setCancelTrackByRef
in interface IFeatureCursorBuffer2
rhs1
- 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 IFeatureCursorBuffer
getBufferedGeometry
in interface IFeatureCursorBuffer2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void buffer(IFeatureClassName pNewLocationName) throws IOException, AutomationException
buffer
in interface IFeatureCursorBuffer
buffer
in interface IFeatureCursorBuffer2
pNewLocationName
- 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 IFeatureCursorBuffer2
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)
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 IFeatureCursorBuffer2
pCompositeGraphicsLayer
- 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 IFeatureCursorBuffer2
rhs1
- 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 IFeatureCursorBuffer2
rhs1
- 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 IFeatureCursorBuffer2
rhs1
- 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 IFeatureCursorBuffer2
rhs1
- 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 IBufferProcessingParameter
adjustCirclesForProjection
- 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 IBufferProcessingParameter
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setGenerateRings(boolean generateRings) throws IOException, AutomationException
setGenerateRings
in interface IBufferProcessingParameter
generateRings
- 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 IBufferProcessingParameter
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSaveAsGraphics(boolean rhs1) throws IOException, AutomationException
setSaveAsGraphics
in interface IBufferProcessingParameter
rhs1
- 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 IBufferProcessingParameter
rhs1
- 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 IBufferProcessingParameter
rhs1
- 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 IBufferProcessingParameter
rhs1
- 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 IBufferProcessingParameter
rhs1
- 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 IBufferProcessingParameter
rhs1
- 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 |