|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.arcgis.interop.Dispatch
com.esri.arcgis.geometry.IGeometryProxy
com.esri.arcgis.geometry.ICurveProxy
com.esri.arcgis.geometry.IPolycurveProxy
com.esri.arcgis.geometry.IPolygonProxy
Provides access to members that identify a polygon and permit controlled access to its inner and outer rings.
| Field Summary | |
static java.lang.Class |
targetClass
|
| Fields inherited from class com.esri.arcgis.interop.Dispatch |
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF |
| Constructor Summary | |
|
IPolygonProxy()
For internal use only |
|
IPolygonProxy(java.lang.Object obj)
|
protected |
IPolygonProxy(java.lang.Object obj,
java.lang.String iid)
|
|
IPolygonProxy(java.lang.String CLSID,
java.lang.String host,
AuthInfo authInfo)
|
protected |
IPolygonProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
AuthInfo authInfo)
|
| Method Summary | |
void |
addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
Adds a Java object to be a listener for a specific kind of event generated by the COM object. |
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 |
removeListener(java.lang.String iidStr,
java.lang.Object theListener)
Removes a Java object as a listener to events generated by a COM object. |
void |
simplifyPreserveFromTo()
Simplifies the polygon and maintains the index location of the from/to point of each ring. |
| Methods inherited from class com.esri.arcgis.geometry.IPolycurveProxy |
densify, generalize, smooth, splitAtDistance, splitAtPoint, weed |
| Methods inherited from class com.esri.arcgis.geometry.ICurveProxy |
getFromPoint, getLength, getSubcurve, getToPoint, isClosed, queryFromPoint, queryNormal, queryPoint, queryPointAndDistance, queryTangent, queryToPoint, reverseOrientation, setFromPoint, setToPoint |
| Methods inherited from class com.esri.arcgis.geometry.IGeometryProxy |
geoNormalize, geoNormalizeFromLongitude, getDimension, getEnvelope, getGeometryType, getSpatialReference, isEmpty, project, queryEnvelope, setEmpty, setSpatialReferenceByRef, snapToSpatialReference |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| 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 |
public static final java.lang.Class targetClass
| Constructor Detail |
public IPolygonProxy(java.lang.String CLSID,
java.lang.String host,
AuthInfo authInfo)
throws java.net.UnknownHostException,
java.io.IOException
public IPolygonProxy()
public IPolygonProxy(java.lang.Object obj)
throws java.io.IOException
protected IPolygonProxy(java.lang.Object obj,
java.lang.String iid)
throws java.io.IOException
protected IPolygonProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
AuthInfo authInfo)
throws java.io.IOException
| Method Detail |
public void addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
throws java.io.IOException
Dispatch
addListener in class IPolycurveProxyjava.io.IOException
public void removeListener(java.lang.String iidStr,
java.lang.Object theListener)
throws java.io.IOException
Dispatch
removeListener in class IPolycurveProxyjava.io.IOException
public IRing findExteriorRing(IRing interiorRing)
throws java.io.IOException,
AutomationException
IPolygonReturns the Exterior Ring to which the input Interior Ring belongs. Every interior ring belongs to one and only one exterior ring.

findExteriorRing in interface IPolygoninteriorRing - A reference to a com.esri.arcgis.geometry.IRing (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getExteriorRingCount()
throws java.io.IOException,
AutomationException
IPolygonReturns the number of Exterior Rings that are part of the polygon. Exterior Rings have a clockwise orientation.

getExteriorRingCount in interface IPolygonjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void queryExteriorRings(IRing exteriorRings)
throws java.io.IOException,
AutomationException
IPolygonReturns an array of IRings containing all of the Exterior Rings in the Polygon. Whenever possible, IPolygon2::QueryExteriorRingsEx should be used instead to ensure proper functionality and better control of the returned array.
Note : That method only accepts an array of type IRing for exteriorRings. Using an array of IRing2 won't work.

queryExteriorRings in interface IPolygonexteriorRings - A reference to a com.esri.arcgis.geometry.IRing (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getInteriorRingCount(IRing exteriorRing)
throws java.io.IOException,
AutomationException
IPolygonReturns the number of Interior Rings within the given Exterior Ring. Interior Rings have a counterclockwise orientation.

getInteriorRingCount in interface IPolygonexteriorRing - A reference to a com.esri.arcgis.geometry.IRing (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void queryInteriorRings(IRing exteriorRing,
IRing interiorRings)
throws java.io.IOException,
AutomationException
IPolygonReturns an array of IRings containing all Interior Rings belonging to a specified input Exterior Ring. Whenever possible, IPolygon2::QueryInteriorRingsEx should be used to ensure proper functionality and better control of the returned array.
Note : That method only accepts an array of type IRing for interiorRings. Using an array of IRing2 won't work.

queryInteriorRings in interface IPolygonexteriorRing - A reference to a com.esri.arcgis.geometry.IRing (in)interiorRings - A reference to a com.esri.arcgis.geometry.IRing (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void close()
throws java.io.IOException,
AutomationException
IPolygonCloses all Rings in the Polygon by adding a Segment between the To Point and From Point of each Ring if those points are not already identical. This may result in a non-simple Polygon with Rings crossing each other. Also, this only closes the last segment and does not fix improperly constructed Rings.
close in interface IPolygonjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void simplifyPreserveFromTo()
throws java.io.IOException,
AutomationException
IPolygonSimplifyPreserveFromTo simplifies the polygon in the same manner as the ITopologicalOperator method Simplify, but once simplification is complete, SimplifyPreserveFromTo reorients each ring such that the original From/To points of each preexisting ring are in the simplified result. Newly created rings are not reoriented.

simplifyPreserveFromTo in interface IPolygonAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||