public class BufferConstruction extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IBufferConstruction, IBufferConstruction2, IBufferConstructionProperties, IBufferConstructionProperties2
Description 'Buffers collections of lines or collections of polygons.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
IID, IID8c600977_e799_4c77_8160_f0b1dd438ad9, xxDummyIID2d199435_c30b_480d_b7da_587f8fd32124IID, IID3b4ca07a_7a46_4766_86dc_4b4f81035c88, xxDummyIIDea859cce_60b2_4621_8b54_154cddd81947| Constructor and Description |
|---|
BufferConstruction()
Constructs a BufferConstruction using ArcGIS Engine.
|
BufferConstruction(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
BufferConstruction theBufferConstruction = (BufferConstruction) obj; |
| Modifier and Type | Method and Description |
|---|---|
IGeometry |
buffer(IGeometry pInGeometry,
double distance)
Compatibility method for clients wishing to replace useages of ITopologicalOperator::Buffer.
|
void |
constructBuffers(IEnumGeometry pInputGeometries,
double distance,
IGeometryCollection pOutputBuffers)
Constructs buffer polygons at the specified distance for the set of input geometries.
|
void |
constructBuffersByDistances(IGeometricBufferSourceSink pBufferInputOutput)
Constructs buffer polygons for the set of input geometries and distances supplied from the specified source-sink interface.
|
void |
constructBuffersByDistances2(IEnumGeometry pInputGeometries,
IDoubleArray pDistances,
IGeometryCollection pOutputBuffers)
Constructs buffer polygons for the set of input geometries and distances supplied from arrays.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
IBufferProgress |
getBufferProgress()
Report the progress of a buffer operation via this callback interface.
|
static java.lang.String |
getClsid()
getClsid.
|
double |
getDensifyDeviation()
For planar buffering, the max dist.
|
IDoubleArray |
getDistanceOffsets()
Constructs concentric buffers at the base distance plus each distance offset.
|
ILongArray |
getEmptyBufferIDs()
Returns an array of identifiers of input geometries that result in empty buffers - typically as a result of buffering polygons by negative distances.
|
ILongLongArray |
getEmptyBufferIDsLL()
Returns an array of identifiers of input geometries that result in empty buffers - typically as a result of buffering polygons by negative distances.
|
int |
getEndOption()
Specifies the shape of the end caps of polyline buffers; defaults to 'esriBufferRound'.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
int |
getSideOption()
Specifies on which side of a polyline its buffer is constructed; defaults to 'esriBufferFull' (both sides).
|
IUnit |
getUnit()
The unit of measure used for the buffering distance and densification deviation distance (optional, default units are obtained from spatial reference of input geometries).
|
int |
hashCode()
the hashcode for this object
|
boolean |
isExplodeBuffers()
Specifies whether or not output buffers can have multiple outer rings (defaut is false).
|
boolean |
isGenerateCurves()
Specifies whether sequences of curve points are replaced with true curves in the output buffers (default is true).
|
boolean |
isOutsideOnly()
Excludes the inside of the input polygon from the output buffer (default = false).
|
boolean |
isUnionOverlappingBuffers()
Specifies whether or not overlaps are preserved in the set of output buffers (default is false).
|
boolean |
isUseGeodesicBuffering()
Specifies whether planar or geodesic (on an ellipsoid) buffering is done.
|
void |
release()
Release this COM object reference
|
void |
setBufferProgressByRef(IBufferProgress ppProgress)
Report the progress of a buffer operation via this callback interface.
|
void |
setDensifyDeviation(double pDeviation)
For planar buffering, the max dist.
|
void |
setDistanceOffsetsByRef(IDoubleArray ppDistanceOffsets)
Constructs concentric buffers at the base distance plus each distance offset.
|
void |
setEndOption(int pEndOption)
Specifies the shape of the end caps of polyline buffers; defaults to 'esriBufferRound'.
|
void |
setExplodeBuffers(boolean pExplodeBuffers)
Specifies whether or not output buffers can have multiple outer rings (defaut is false).
|
void |
setGenerateCurves(boolean pbGenerateCurves)
Specifies whether sequences of curve points are replaced with true curves in the output buffers (default is true).
|
void |
setOutsideOnly(boolean bpOutsideOnly)
Excludes the inside of the input polygon from the output buffer (default = false).
|
void |
setSideOption(int pSideOption)
Specifies on which side of a polyline its buffer is constructed; defaults to 'esriBufferFull' (both sides).
|
void |
setUnionOverlappingBuffers(boolean pbUnionOverlapping)
Specifies whether or not overlaps are preserved in the set of output buffers (default is false).
|
void |
setUnitByRef(IUnit ppUnit)
The unit of measure used for the buffering distance and densification deviation distance (optional, default units are obtained from spatial reference of input geometries).
|
void |
setUseGeodesicBuffering(boolean pbUseGeodesicBuffering)
Specifies whether planar or geodesic (on an ellipsoid) buffering is done.
|
public BufferConstruction()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problemsjava.net.UnknownHostException - if there are interop problemspublic BufferConstruction(java.lang.Object obj)
throws java.io.IOException
BufferConstruction theBufferConstruction = (BufferConstruction) obj;obj to BufferConstruction.obj - an object returned from ArcGIS Engine or Serverjava.io.IOException - if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRefpublic void constructBuffers(IEnumGeometry pInputGeometries, double distance, IGeometryCollection pOutputBuffers) throws java.io.IOException, AutomationException
constructBuffers in interface IBufferConstructionpInputGeometries - A reference to a com.esri.arcgis.geometry.IEnumGeometry (in)distance - The distance (in)pOutputBuffers - A reference to a com.esri.arcgis.geometry.IGeometryCollection (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void constructBuffersByDistances(IGeometricBufferSourceSink pBufferInputOutput) throws java.io.IOException, AutomationException
constructBuffersByDistances in interface IBufferConstructionpBufferInputOutput - A reference to a com.esri.arcgis.geometry.IGeometricBufferSourceSink (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void constructBuffersByDistances2(IEnumGeometry pInputGeometries, IDoubleArray pDistances, IGeometryCollection pOutputBuffers) throws java.io.IOException, AutomationException
constructBuffersByDistances2 in interface IBufferConstructionpInputGeometries - A reference to a com.esri.arcgis.geometry.IEnumGeometry (in)pDistances - A reference to a com.esri.arcgis.system.IDoubleArray (in)pOutputBuffers - A reference to a com.esri.arcgis.geometry.IGeometryCollection (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IGeometry buffer(IGeometry pInGeometry, double distance) throws java.io.IOException, AutomationException
buffer in interface IBufferConstructionpInGeometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)distance - The distance (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public ILongArray getEmptyBufferIDs() throws java.io.IOException, AutomationException
getEmptyBufferIDs in interface IBufferConstructionjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public ILongLongArray getEmptyBufferIDsLL() throws java.io.IOException, AutomationException
getEmptyBufferIDsLL in interface IBufferConstruction2java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setBufferProgressByRef(IBufferProgress ppProgress) throws java.io.IOException, AutomationException
setBufferProgressByRef in interface IBufferConstructionPropertiesppProgress - A reference to a com.esri.arcgis.geometry.IBufferProgress (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IBufferProgress getBufferProgress() throws java.io.IOException, AutomationException
getBufferProgress in interface IBufferConstructionPropertiesjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setDistanceOffsetsByRef(IDoubleArray ppDistanceOffsets) throws java.io.IOException, AutomationException
setDistanceOffsetsByRef in interface IBufferConstructionPropertiesppDistanceOffsets - A reference to a com.esri.arcgis.system.IDoubleArray (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IDoubleArray getDistanceOffsets() throws java.io.IOException, AutomationException
getDistanceOffsets in interface IBufferConstructionPropertiesjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setUnitByRef(IUnit ppUnit) throws java.io.IOException, AutomationException
setUnitByRef in interface IBufferConstructionPropertiesppUnit - A reference to a com.esri.arcgis.geometry.IUnit (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IUnit getUnit() throws java.io.IOException, AutomationException
getUnit in interface IBufferConstructionPropertiesjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setSideOption(int pSideOption)
throws java.io.IOException,
AutomationException
setSideOption in interface IBufferConstructionPropertiespSideOption - A com.esri.arcgis.geometry.esriBufferConstructionSideEnum constant (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getSideOption()
throws java.io.IOException,
AutomationException
getSideOption in interface IBufferConstructionPropertiesjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setOutsideOnly(boolean bpOutsideOnly)
throws java.io.IOException,
AutomationException
setOutsideOnly in interface IBufferConstructionPropertiesbpOutsideOnly - The bpOutsideOnly (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isOutsideOnly()
throws java.io.IOException,
AutomationException
isOutsideOnly in interface IBufferConstructionPropertiesjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setEndOption(int pEndOption)
throws java.io.IOException,
AutomationException
setEndOption in interface IBufferConstructionPropertiespEndOption - A com.esri.arcgis.geometry.esriBufferConstructionEndEnum constant (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getEndOption()
throws java.io.IOException,
AutomationException
getEndOption in interface IBufferConstructionPropertiesjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setGenerateCurves(boolean pbGenerateCurves)
throws java.io.IOException,
AutomationException
setGenerateCurves in interface IBufferConstructionPropertiespbGenerateCurves - The pbGenerateCurves (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isGenerateCurves()
throws java.io.IOException,
AutomationException
isGenerateCurves in interface IBufferConstructionPropertiesjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setDensifyDeviation(double pDeviation)
throws java.io.IOException,
AutomationException
setDensifyDeviation in interface IBufferConstructionPropertiespDeviation - The pDeviation (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public double getDensifyDeviation()
throws java.io.IOException,
AutomationException
getDensifyDeviation in interface IBufferConstructionPropertiesjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setUnionOverlappingBuffers(boolean pbUnionOverlapping)
throws java.io.IOException,
AutomationException
setUnionOverlappingBuffers in interface IBufferConstructionPropertiespbUnionOverlapping - The pbUnionOverlapping (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isUnionOverlappingBuffers()
throws java.io.IOException,
AutomationException
isUnionOverlappingBuffers in interface IBufferConstructionPropertiesjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setExplodeBuffers(boolean pExplodeBuffers)
throws java.io.IOException,
AutomationException
setExplodeBuffers in interface IBufferConstructionPropertiespExplodeBuffers - The pExplodeBuffers (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isExplodeBuffers()
throws java.io.IOException,
AutomationException
isExplodeBuffers in interface IBufferConstructionPropertiesjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setUseGeodesicBuffering(boolean pbUseGeodesicBuffering)
throws java.io.IOException,
AutomationException
setUseGeodesicBuffering in interface IBufferConstructionProperties2pbUseGeodesicBuffering - The pbUseGeodesicBuffering (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isUseGeodesicBuffering()
throws java.io.IOException,
AutomationException
isUseGeodesicBuffering in interface IBufferConstructionProperties2java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.