|
||||||||||
| 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.IMultiPatchProxy
Provides access to members that identify a MultiPatch and permit controlled access to its parts.
| 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 | |
|
IMultiPatchProxy()
For internal use only |
|
IMultiPatchProxy(java.lang.Object obj)
|
protected |
IMultiPatchProxy(java.lang.Object obj,
java.lang.String iid)
|
|
IMultiPatchProxy(java.lang.String CLSID,
java.lang.String host,
AuthInfo authInfo)
|
protected |
IMultiPatchProxy(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. |
IRing |
findBeginningRing(IRing followingRing)
Returns the beginning ring of the ring group containing the specified following ring. |
int |
getBeginningRingCount(int ringTypesDesired)
The number of beginning rings, counting only those of the desired types. |
int |
getFollowingRingCount(IRing beginningRing)
The number of following rings in the ring group that starts with the specified beginning ring. |
int |
getRingType(IRing queryRing,
boolean[] isBeginningRing)
Gets the esriMultiPatchRingType of the input Ring and returns a boolean indicating if that ring is a beginning ring. |
IGeometry |
getXYFootprint()
A reference to a cached copy of the multipatch's footprint in the x-y plane. |
void |
invalXYFootprint()
Notifies the multipatch that its cached footprint has been modified by an outside agent. |
void |
putRingType(IRing queryRing,
int ringType)
Defines the type of the input Ring. |
void |
queryBeginningRings(int ringTypesDesired,
int numBeginningRingsRequested,
IRing[] beginningRings)
Populates an array with references to all beginning rings of the specified types. |
void |
queryFollowingRings(IRing beginningRing,
int numFollowingRingsRequested,
IRing[] followingRings)
Populates an array with references to following rings that are in the ring group that starts with the specified beginning 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. |
| 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.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 IMultiPatchProxy(java.lang.String CLSID,
java.lang.String host,
AuthInfo authInfo)
throws java.net.UnknownHostException,
java.io.IOException
public IMultiPatchProxy()
public IMultiPatchProxy(java.lang.Object obj)
throws java.io.IOException
protected IMultiPatchProxy(java.lang.Object obj,
java.lang.String iid)
throws java.io.IOException
protected IMultiPatchProxy(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 IGeometryProxyjava.io.IOException
public void removeListener(java.lang.String iidStr,
java.lang.Object theListener)
throws java.io.IOException
Dispatch
removeListener in class IGeometryProxyjava.io.IOException
public IRing findBeginningRing(IRing followingRing)
throws java.io.IOException,
AutomationException
IMultiPatch
findBeginningRing in interface IMultiPatchfollowingRing - 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 getBeginningRingCount(int ringTypesDesired)
throws java.io.IOException,
AutomationException
IMultiPatch
getBeginningRingCount in interface IMultiPatchringTypesDesired - The ringTypesDesired (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void queryBeginningRings(int ringTypesDesired,
int numBeginningRingsRequested,
IRing[] beginningRings)
throws java.io.IOException,
AutomationException
IMultiPatch
queryBeginningRings in interface IMultiPatchringTypesDesired - The ringTypesDesired (in)numBeginningRingsRequested - The numBeginningRingsRequested (in)beginningRings - A reference to a com.esri.arcgis.geometry.IRing (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getFollowingRingCount(IRing beginningRing)
throws java.io.IOException,
AutomationException
IMultiPatch
getFollowingRingCount in interface IMultiPatchbeginningRing - 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 queryFollowingRings(IRing beginningRing,
int numFollowingRingsRequested,
IRing[] followingRings)
throws java.io.IOException,
AutomationException
IMultiPatch
queryFollowingRings in interface IMultiPatchbeginningRing - A reference to a com.esri.arcgis.geometry.IRing (in)numFollowingRingsRequested - The numFollowingRingsRequested (in)followingRings - 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 int getRingType(IRing queryRing,
boolean[] isBeginningRing)
throws java.io.IOException,
AutomationException
IMultiPatch
getRingType in interface IMultiPatchqueryRing - A reference to a com.esri.arcgis.geometry.IRing (in)isBeginningRing - The isBeginningRing (in/out: use single element array)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void putRingType(IRing queryRing,
int ringType)
throws java.io.IOException,
AutomationException
IMultiPatch

putRingType in interface IMultiPatchqueryRing - A reference to a com.esri.arcgis.geometry.IRing (in)ringType - A com.esri.arcgis.geometry.esriMultiPatchRingType constant (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IGeometry getXYFootprint()
throws java.io.IOException,
AutomationException
IMultiPatchReturns the 2D projection of the MultiPatch to the XY-Plane. The XY-Plane projection of a MultiPatch is called the "XYFootprint" of the MultiPatch. The XYFootprint is used to display MultiPatches in a 2D environment as well as perform simple time-efficient calculations.
To ensure that the XYFootpring is current (this is especially important if you directly modify the XYFootprint or one of the MultiPatch parts), call InvalXYFootprint.

getXYFootprint in interface IMultiPatchjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void invalXYFootprint()
throws java.io.IOException,
AutomationException
IMultiPatchInvalXYFootprint tells the MultiPatch that the XYFootprint it holds may have changed without its knowledge and needs to be recalculated before it can be used. InvalXYFootprint should be called anytime the parts of the MultiPatch are altered without altering the MultiPatch as a whole. Operations which operate on the entire MultiPatch or utilize the MultiPatch interfaces do not require InvalXYFootprint to be called.
invalXYFootprint in interface IMultiPatchAutomationException - 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 | |||||||||