|
||||||||||
| 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
com.esri.arcgis.geometry.IPolygon2Proxy
Provides access to members that extend the IPolygon interface.
| 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 | |
|
IPolygon2Proxy()
For internal use only |
|
IPolygon2Proxy(java.lang.Object obj)
|
protected |
IPolygon2Proxy(java.lang.Object obj,
java.lang.String iid)
|
|
IPolygon2Proxy(java.lang.String CLSID,
java.lang.String host,
AuthInfo authInfo)
|
protected |
IPolygon2Proxy(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 |
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. |
void |
removeListener(java.lang.String iidStr,
java.lang.Object theListener)
Removes a Java object as a listener to events generated by a COM object. |
| Methods inherited from class com.esri.arcgis.geometry.IPolygonProxy |
close, findExteriorRing, getExteriorRingCount, getInteriorRingCount, queryExteriorRings, queryInteriorRings, simplifyPreserveFromTo |
| 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.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 |
public static final java.lang.Class targetClass
| Constructor Detail |
public IPolygon2Proxy(java.lang.String CLSID,
java.lang.String host,
AuthInfo authInfo)
throws java.net.UnknownHostException,
java.io.IOException
public IPolygon2Proxy()
public IPolygon2Proxy(java.lang.Object obj)
throws java.io.IOException
protected IPolygon2Proxy(java.lang.Object obj,
java.lang.String iid)
throws java.io.IOException
protected IPolygon2Proxy(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 IPolygonProxyjava.io.IOException
public void removeListener(java.lang.String iidStr,
java.lang.Object theListener)
throws java.io.IOException
Dispatch
removeListener in class IPolygonProxyjava.io.IOException
public void queryExteriorRingsEx(int numExteriorRingsRequested,
IRing[] exteriorRings)
throws java.io.IOException,
AutomationException
IPolygon2Returns an array of IRings containing up to numExteriorRingsRequested of the Exterior Rings in the Polygon.
Note : That method only accepts an array of type IRing for exteriorRings. Using an array of IRing2 won't work.

queryExteriorRingsEx in interface IPolygon2numExteriorRingsRequested - The numExteriorRingsRequested (in)exteriorRings - A reference to a com.esri.arcgis.geometry.IRing (out: use single element array)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void queryInteriorRingsEx(IRing exteriorRing,
int numInteriorRingsRequested,
IRing[] interiorRings)
throws java.io.IOException,
AutomationException
IPolygon2Returns an array of IRings containing up to numInteriorRingsRequested Interior Rings belonging to a specified input Exterior Ring.
Note : That method only accepts an array of type IRing for interiorRings. Using an array of IRing2 won't work.

queryInteriorRingsEx in interface IPolygon2exteriorRing - 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)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void getConnectedComponents(int numComponentsRequested,
IPolygon[] components)
throws java.io.IOException,
AutomationException
IPolygon2The method returns an error in the following cases:
1. Number of components requested is smaller than 0
2. Number of components requested larger than the number of exterior rings
3. If the array is not dimensionned
4. If the polygon is not simple

getConnectedComponents in interface IPolygon2numComponentsRequested - The numComponentsRequested (in)components - A reference to a com.esri.arcgis.geometry.IPolygon (out: use single element array)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void getOutermostComponents(int numComponentsRequested,
int[] numComponentsReturned,
IPolygon[] components,
boolean[] moreComponentsExist)
throws java.io.IOException,
AutomationException
IPolygon2The method returns an error in the following cases:
1. Number of components requested is smaller than 0
2. If the array is not dimensionned
3. If the polygon is not simple

getOutermostComponents in interface IPolygon2numComponentsRequested - 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)
AutomationException - 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 | |||||||||