public interface IGeometryCollection
extends java.io.Serializable
Description: 'Provides access to members that can be used for accessing, adding and removing individual geometries of a multi-part geometry (Multipoint, Polyline, Polygon, MultiPatch, and GeometryBag).' 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 =
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
IID
Deprecated.
Internal use only
|
static int |
IIDc801565e_99ca_11d0_82f7_0000f8034032 |
static int |
xxDummy
Deprecated.
Internal use only
|
Modifier and Type | Method and Description |
---|---|
void |
addGeometries(int count,
IGeometry newGeometries)
Adds references to the specified geometries.
|
void |
addGeometry(IGeometry inGeometry,
java.lang.Object before,
java.lang.Object after)
Adds a reference to the input geometry either at the end, or before, or after the specified index.
|
void |
addGeometryCollection(IGeometryCollection newGeometries)
Adds references to geometries in the input collection.
|
void |
geometriesChanged()
Tells this geometry collection that some of its geometries have been altered.
|
IGeometry |
getGeometry(int index)
A reference to the ith geometry.
|
int |
getGeometryCount()
The number of geometries in this collection.
|
void |
insertGeometries(int index,
int count,
IGeometry newGeometries)
Inserts at the specified index references to some number of geometries in the input array.
|
void |
insertGeometryCollection(int index,
IGeometryCollection newGeometries)
Inserts at the specified index references to all if the geometries in the input collection.
|
void |
queryGeometries(int index,
int count,
IGeometry[] geometries)
Populates the array with references to a sub-sequence of geometries.
|
void |
removeGeometries(int index,
int count)
Removes references to some geometries from this collection.
|
void |
setGeometries(int count,
IGeometry newGeometries)
Replaces all geometries in the collection with the specified number of references to those in the input array.
|
void |
setGeometryCollection(IGeometryCollection newParts)
Replaces all geometries in the collection with references to geometries from the input collection.
|
static final int IIDc801565e_99ca_11d0_82f7_0000f8034032
static final int xxDummy
static final java.lang.String IID
int getGeometryCount() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.IGeometry getGeometry(int index) throws java.io.IOException, AutomationException
index
- The index (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void addGeometry(IGeometry inGeometry, java.lang.Object before, java.lang.Object after) throws java.io.IOException, AutomationException
inGeometry
- A reference to a com.esri.arcgis.geometry.IGeometry (in)before
- A Variant (in, optional, pass null if not required)after
- A Variant (in, optional, pass null if not required)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void queryGeometries(int index, int count, IGeometry[] geometries) throws java.io.IOException, AutomationException
index
- The index (in)count
- The count (in)geometries
- A reference to a com.esri.arcgis.geometry.IGeometry (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void addGeometries(int count, IGeometry newGeometries) throws java.io.IOException, AutomationException
count
- The count (in)newGeometries
- A reference to a com.esri.arcgis.geometry.IGeometry (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void addGeometryCollection(IGeometryCollection newGeometries) throws java.io.IOException, AutomationException
newGeometries
- 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.void insertGeometries(int index, int count, IGeometry newGeometries) throws java.io.IOException, AutomationException
index
- The index (in)count
- The count (in)newGeometries
- A reference to a com.esri.arcgis.geometry.IGeometry (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void insertGeometryCollection(int index, IGeometryCollection newGeometries) throws java.io.IOException, AutomationException
index
- The index (in)newGeometries
- 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.void setGeometries(int count, IGeometry newGeometries) throws java.io.IOException, AutomationException
count
- The count (in)newGeometries
- A reference to a com.esri.arcgis.geometry.IGeometry (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void setGeometryCollection(IGeometryCollection newParts) throws java.io.IOException, AutomationException
newParts
- 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.void removeGeometries(int index, int count) throws java.io.IOException, AutomationException
index
- The index (in)count
- The count (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void geometriesChanged() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.