com.esri.arcgis.geometry
Interface IPolygon2

All Superinterfaces:
ICurve, IGeometry, IPolycurve, IPolygon, java.io.Serializable
All Known Subinterfaces:
IPolygon3, IPolygon4
All Known Implementing Classes:
IPolygon2Proxy, IPolygon3Proxy, IPolygon4Proxy, Polygon

public interface IPolygon2
extends IPolygon, java.io.Serializable

COM Interface 'IPolygon2'. Generated 3/19/2015 1:20:58 PM from 'C:\ArcGIS\COM\esriGeometry.olb'

Description: 'Provides access to members that extend the IPolygon interface.' 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 =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID55e67f71_30ff_11d4_9f5e_00c04f6bdf0d
           
static int xxDummy
          Deprecated. Internal use only
 
Fields inherited from interface com.esri.arcgis.geometry.IPolygon
IIDa4c490b8_9441_11d0_82f7_0000f8034032
 
Fields inherited from interface com.esri.arcgis.geometry.IPolycurve
IID4aff82e0_f984_11d1_bca7_0000f875bcce
 
Fields inherited from interface com.esri.arcgis.geometry.ICurve
IID1b077916_38c5_11d0_92d2_00805f7c28b0
 
Fields inherited from interface com.esri.arcgis.geometry.IGeometry
IID1b07790d_38c5_11d0_92d2_00805f7c28b0
 
Method Summary
 void getConnectedComponents(int numComponentsRequested, IPolygon[] components)
          Populates an array with polygons that represent connected components of the original.
 void getOutermostComponents(int numComponentsRequested, int[] numComponentsReturned, IPolygon[] components, boolean[] moreComponentsExist)
          Populates an array with polygons that represent outermost components of the original and all components within (islands within lakes).
 void queryExteriorRingsEx(int numExteriorRingsRequested, IRing[] exteriorRings)
          Returns an array of references to exterior rings, up to a maximum of the number requested.
 void queryInteriorRingsEx(IRing exteriorRing, int numInteriorRingsRequested, IRing[] interiorRings)
          Returns an array of references to rings that are interior to the specified exterior ring, up to a maximum of the number requested.
 
Methods inherited from interface com.esri.arcgis.geometry.IPolygon
close, findExteriorRing, getExteriorRingCount, getInteriorRingCount, queryExteriorRings, queryInteriorRings, simplifyPreserveFromTo
 
Methods inherited from interface com.esri.arcgis.geometry.IPolycurve
densify, generalize, smooth, splitAtDistance, splitAtPoint, weed
 
Methods inherited from interface com.esri.arcgis.geometry.ICurve
getFromPoint, getLength, getSubcurve, getToPoint, isClosed, queryFromPoint, queryNormal, queryPoint, queryPointAndDistance, queryTangent, queryToPoint, reverseOrientation, setFromPoint, setToPoint
 
Methods inherited from interface com.esri.arcgis.geometry.IGeometry
geoNormalize, geoNormalizeFromLongitude, getDimension, getEnvelope, getGeometryType, getSpatialReference, isEmpty, project, queryEnvelope, setEmpty, setSpatialReferenceByRef, snapToSpatialReference
 

Field Detail

IID55e67f71_30ff_11d4_9f5e_00c04f6bdf0d

static final int IID55e67f71_30ff_11d4_9f5e_00c04f6bdf0d
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

queryExteriorRingsEx

void queryExteriorRingsEx(int numExteriorRingsRequested,
                          IRing[] exteriorRings)
                          throws java.io.IOException,
                                 AutomationException
Returns an array of references to exterior rings, up to a maximum of the number requested.

Parameters:
numExteriorRingsRequested - The numExteriorRingsRequested (in)
exteriorRings - A reference to a com.esri.arcgis.geometry.IRing (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryInteriorRingsEx

void queryInteriorRingsEx(IRing exteriorRing,
                          int numInteriorRingsRequested,
                          IRing[] interiorRings)
                          throws java.io.IOException,
                                 AutomationException
Returns an array of references to rings that are interior to the specified exterior ring, up to a maximum of the number requested.

Parameters:
exteriorRing - A reference to a com.esri.arcgis.geometry.IRing (in)
numInteriorRingsRequested - The numInteriorRingsRequested (in)
interiorRings - A reference to a com.esri.arcgis.geometry.IRing (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getConnectedComponents

void getConnectedComponents(int numComponentsRequested,
                            IPolygon[] components)
                            throws java.io.IOException,
                                   AutomationException
Populates an array with polygons that represent connected components of the original. The rings of the output polygons are references to rings in the original.

Parameters:
numComponentsRequested - The numComponentsRequested (in)
components - A reference to a com.esri.arcgis.geometry.IPolygon (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getOutermostComponents

void getOutermostComponents(int numComponentsRequested,
                            int[] numComponentsReturned,
                            IPolygon[] components,
                            boolean[] moreComponentsExist)
                            throws java.io.IOException,
                                   AutomationException
Populates an array with polygons that represent outermost components of the original and all components within (islands within lakes). The rings of the output polygons are references to rings in the original.

Parameters:
numComponentsRequested - The numComponentsRequested (in)
numComponentsReturned - The numComponentsReturned (out: use single element array)
components - A reference to a com.esri.arcgis.geometry.IPolygon (out: use single element array)
moreComponentsExist - The moreComponentsExist (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.