|
||||||||||
| 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
com.esri.arcgis.geometry.IPolygon3Proxy
com.esri.arcgis.geometry.IPolygon4Proxy
Provides access to members that extend the IPolygon3 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 | |
|
IPolygon4Proxy()
For internal use only |
|
IPolygon4Proxy(java.lang.Object obj)
|
protected |
IPolygon4Proxy(java.lang.Object obj,
java.lang.String iid)
|
|
IPolygon4Proxy(java.lang.String CLSID,
java.lang.String host,
AuthInfo authInfo)
|
protected |
IPolygon4Proxy(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. |
IGeometryBag |
getConnectedComponentBag()
Creates and returns a geometry bag containing polygons that represent connected components of the original. |
IGeometryBag |
getExteriorRingBag()
Creates and returns a geometry bag that contains references to all exterior rings. |
IGeometryBag |
getInteriorRingBag(IRing exteriorRing)
Creates and returns a geometry bag that contains references to all rings that are interior to the specified exterior ring. |
IGeometryBag |
getOutermostComponentBag()
Creates and returns a geometry bag containing polygons that represent outermost components of the original and all components within (islands within lakes). |
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 |
simplifyEx(boolean preserveFromToPoints,
boolean closeRings,
boolean useXORRule)
Same as ITopologicalOperator::Simplify, but with some additional options that affect performance and how the interior is classified. |
| Methods inherited from class com.esri.arcgis.geometry.IPolygon3Proxy |
simplifySpaghetti |
| Methods inherited from class com.esri.arcgis.geometry.IPolygon2Proxy |
getConnectedComponents, getOutermostComponents, queryExteriorRingsEx, queryInteriorRingsEx |
| 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.IPolygon3 |
simplifySpaghetti |
| Methods inherited from interface com.esri.arcgis.geometry.IPolygon2 |
getConnectedComponents, getOutermostComponents, queryExteriorRingsEx, queryInteriorRingsEx |
| 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 IPolygon4Proxy(java.lang.String CLSID,
java.lang.String host,
AuthInfo authInfo)
throws java.net.UnknownHostException,
java.io.IOException
public IPolygon4Proxy()
public IPolygon4Proxy(java.lang.Object obj)
throws java.io.IOException
protected IPolygon4Proxy(java.lang.Object obj,
java.lang.String iid)
throws java.io.IOException
protected IPolygon4Proxy(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 IPolygon3Proxyjava.io.IOException
public void removeListener(java.lang.String iidStr,
java.lang.Object theListener)
throws java.io.IOException
Dispatch
removeListener in class IPolygon3Proxyjava.io.IOException
public void simplifyEx(boolean preserveFromToPoints,
boolean closeRings,
boolean useXORRule)
throws java.io.IOException,
AutomationException
IPolygon4Parameters:
preserveFromToPoints: Boolean value that determines if the from/to points of a ring in the polygon need to remain located at ring indexes 0 and PointCount-1 af the completion of the operation. Specify 'false' to improve performance of this operation.
closeRings : Boolean value that determines if the rings of the polygon must be closed prior to reconstruct the topology of the polygon. Specify false if you know that rings are closed or you are passing in spaghetti input that should not be checked for closure.
useXORRule: Boolean value that determines how the 'inside' of the polygon is determined. Specify true to use an even-odd counting rule: a point is inside the polygon if a horizontal line through that has encountered an odd number of boundaries to the left (overlapping boundaries count 1 for each overlap). Use this when the input consists of well-defined rings that need to be oriented correctly, have overlaps removed, etc. Specify false to use the default behavior, which iterates over a two step process: dangle removal, then "peeling off" of the largest unambiguous rings. This approach can remove more segments than the XOR-true approach, but is probably more appropriate for spaghetti input where segment overlaps should not be considered significant.
Here is an example of the different between XOR=TRUE vs. XOR= FALSE:

simplifyEx in interface IPolygon4preserveFromToPoints - The preserveFromToPoints (in)closeRings - The closeRings (in)useXORRule - The useXORRule (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IGeometryBag getExteriorRingBag()
throws java.io.IOException,
AutomationException
IPolygon4
getExteriorRingBag in interface IPolygon4AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IGeometryBag getInteriorRingBag(IRing exteriorRing)
throws java.io.IOException,
AutomationException
IPolygon4
getInteriorRingBag in interface IPolygon4exteriorRing - 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 IGeometryBag getConnectedComponentBag()
throws java.io.IOException,
AutomationException
IPolygon4
getConnectedComponentBag in interface IPolygon4java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IGeometryBag getOutermostComponentBag()
throws java.io.IOException,
AutomationException
IPolygon4
getOutermostComponentBag in interface IPolygon4AutomationException - 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 | |||||||||