com.esri.arcgis.geometry
Interface IPolygon

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

public interface IPolygon
extends IPolycurve, java.io.Serializable

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

Description: 'Provides access to members that identify a polygon and permit controlled access to its inner and outer rings.' 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 IIDa4c490b8_9441_11d0_82f7_0000f8034032
           
static int xxDummy
          Deprecated. Internal use only
 
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 close()
          Closes all rings in this polygon.
 IRing findExteriorRing(IRing interiorRing)
          Returns the exterior ring containing the specified interior ring.
 int getExteriorRingCount()
          The number of exterior rings.
 int getInteriorRingCount(IRing exteriorRing)
          The number of rings interior to the specified exterior ring.
 void queryExteriorRings(IRing exteriorRings)
          Populates an array with references to all exterior rings.
 void queryInteriorRings(IRing exteriorRing, IRing interiorRings)
          Populates an array with references to rings that are interior to the specified exterior ring.
 void simplifyPreserveFromTo()
          Simplifies the polygon and maintains the index location of the from/to point of each ring.
 
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

IIDa4c490b8_9441_11d0_82f7_0000f8034032

static final int IIDa4c490b8_9441_11d0_82f7_0000f8034032
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

findExteriorRing

IRing findExteriorRing(IRing interiorRing)
                       throws java.io.IOException,
                              AutomationException
Returns the exterior ring containing the specified interior ring.

Parameters:
interiorRing - A reference to a com.esri.arcgis.geometry.IRing (in)
Returns:
A reference to a com.esri.arcgis.geometry.IRing
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExteriorRingCount

int getExteriorRingCount()
                         throws java.io.IOException,
                                AutomationException
The number of exterior rings.

Returns:
The cExteriorRings
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryExteriorRings

void queryExteriorRings(IRing exteriorRings)
                        throws java.io.IOException,
                               AutomationException
Populates an array with references to all exterior rings. This method does not marshall correctly out-of-proc. Use QueryExteriorRingsEx on the IPolygon2 interface instead.

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

getInteriorRingCount

int getInteriorRingCount(IRing exteriorRing)
                         throws java.io.IOException,
                                AutomationException
The number of rings interior to the specified exterior ring.

Parameters:
exteriorRing - A reference to a com.esri.arcgis.geometry.IRing (in)
Returns:
The cInteriorRings
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryInteriorRings

void queryInteriorRings(IRing exteriorRing,
                        IRing interiorRings)
                        throws java.io.IOException,
                               AutomationException
Populates an array with references to rings that are interior to the specified exterior ring. This method does not marshall correctly out-of-proc. Use QueryInteriorRingsEx on the IPolygon2 interface instead.

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

close

void close()
           throws java.io.IOException,
                  AutomationException
Closes all rings in this polygon. The resulting polygon may not be simple.

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

simplifyPreserveFromTo

void simplifyPreserveFromTo()
                            throws java.io.IOException,
                                   AutomationException
Simplifies the polygon and maintains the index location of the from/to point of each ring.

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.