Description: 'Provides access to more standard operations on geometric 'value' objects. The input geometries are never modified by these operations. Designed for use in building web services or other kinds of distributed applications.' 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 =
public class IGeometryServer2Proxy extends IGeometryServerProxy implements IGeometryServer2, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
boolean |
noncastable
Deprecated.
|
static java.lang.Class |
targetClass
Deprecated.
|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
IID, IIDf3b51e61_2b28_4033_9615_d93a76171a85
IIDcb6db57f_ca37_485d_b0a5_0931fa62ab84
Modifier | Constructor and Description |
---|---|
|
IGeometryServer2Proxy()
Deprecated.
For internal use only
|
|
IGeometryServer2Proxy(java.lang.Object obj)
Deprecated.
|
protected |
IGeometryServer2Proxy(java.lang.Object obj,
java.lang.String iid)
Deprecated.
|
|
IGeometryServer2Proxy(java.lang.String CLSID,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
Deprecated.
|
protected |
IGeometryServer2Proxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
Deprecated.
Adds a Java object to be a listener for a specific kind of event generated by the COM object.
|
IPolygonArray |
autoComplete(ISpatialReference pSR,
IPolygonArray pInPolygons,
IPolylineArray pCompletionLines)
Deprecated.
Discovers polygons bounded by existing polygons and input linework.
|
IGeometry |
convexHull(ISpatialReference pSR,
IGeometryArray pInGeometryArray)
Deprecated.
Computes the convex hull of the input geometries
|
IGeometryArray |
cut(ISpatialReference pSR,
IGeometryArray pTargets,
IPolyline pCutter,
ILongArray[] ppCutIndexes)
Deprecated.
Cuts the target polyline or polygon Cutter.
|
IGeometryArray |
densifyGeodesic(ISpatialReference pSR,
IGeometryArray pInGeometries,
double maxSegmentLength,
ILinearUnit pLengthUnit)
Deprecated.
Densifies geometries by plotting points along the geodesics between existing vertices (uses IPolycurve4::GeodesicDensify).
|
IGeometryArray |
difference(ISpatialReference pSR,
IGeometryArray pInGA1,
IGeometry pInG2)
Deprecated.
Returns an array of geometries where each result geometry R[i] is (array1[i] difference G2).
|
IGeometryArray |
generalize(ISpatialReference pSR,
IGeometryArray pInGA,
double maxDeviation,
ILinearUnit pDeviationUnit)
Deprecated.
Returns generalized (Douglas-Peucker) versions of the input polylines and polygons (uses IPolycurve::Generalize).
|
void |
getAreasAndLengths2(ISpatialReference pSR,
IPolygonArray pInPolygons,
ILinearUnit pLengthUnit,
ILinearUnit pAreaUnit,
int areaUnitEnum,
IDoubleArray[] ppAreas,
IDoubleArray[] ppLengths)
Deprecated.
Calculates areas and perimeter lengths for each polygon in the specified array.
|
double |
getDistance(ISpatialReference pSR,
IGeometry pG1,
IGeometry pG2,
ILinearUnit pDistanceUnit)
Deprecated.
Reports shortest distance between G1 and G2.
|
double |
getDistanceGeodesic(ISpatialReference pSR,
IGeometry pG1,
IGeometry pG2,
ILinearUnit pDistanceUnit)
Deprecated.
Reports the shortest geodesic distance between G1 and G2.
|
IDoubleArray |
getLengths2(ISpatialReference pSR,
IPolylineArray pInPolylines,
ILinearUnit pLengthUnit)
Deprecated.
Calculates the length of eacch polyline in the specified array.
|
IDoubleArray |
getLengthsGeodesic(ISpatialReference pSR,
IPolylineArray polylines,
ILinearUnit pLengthUnit)
Deprecated.
Returns geodesic length of each Polyline.
|
IGeometryArray |
intersect(ISpatialReference pSR,
IGeometryArray pInGA1,
IGeometry pInG2)
Deprecated.
Returns an array of geometries where each result geometry R[i] is (array1[i] intersect G2.
|
IGeometryArray |
offset(ISpatialReference pSR,
IGeometryArray pInGA,
double offsetDistance,
ILinearUnit pOffsetUnit,
int offsetHow,
double bevelRatio)
Deprecated.
Returns an array of polylines and polygons that are offset versions of the input polylines and polygons (uses ITopologicalOperator::ConstructOffset).
|
void |
removeListener(java.lang.String iidStr,
java.lang.Object theListener)
Deprecated.
Removes a Java object as a listener to events generated by a COM object.
|
IGeometry |
reshape(ISpatialReference pSR,
IGeometry pTarget,
IPolyline pReshaper)
Deprecated.
Reshapes the target polyline or polygon.
|
IPolylineArray |
trimExtend(ISpatialReference pSR,
IPolylineArray pInPA,
IPolyline pTrimExtendTo,
int extendHow)
Deprecated.
Trims or extends each polyline in the input array using TrimExtendTo (uses IConstructCurve::ConstructExtended for extension operation).
|
IGeometry |
union(ISpatialReference pSR,
IGeometryArray pInGA)
Deprecated.
Returns the topological union of the input geometries (uses ITopologicalOperator::ConstructUnion).
|
buffer, densify, findSRByWKID, findSRByWKT, findUnitsByWKID, findUnitsByWKT, getAreasAndLengths, getLabelPoints, getLengths, project, relation, simplify
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
buffer, densify, findSRByWKID, findSRByWKT, findUnitsByWKID, findUnitsByWKT, getAreasAndLengths, getLabelPoints, getLengths, project, relation, simplify
public static final java.lang.Class targetClass
public boolean noncastable
public IGeometryServer2Proxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo) throws java.net.UnknownHostException, java.io.IOException
java.net.UnknownHostException
java.io.IOException
public IGeometryServer2Proxy()
public IGeometryServer2Proxy(java.lang.Object obj) throws java.io.IOException
java.io.IOException
protected IGeometryServer2Proxy(java.lang.Object obj, java.lang.String iid) throws java.io.IOException
java.io.IOException
protected IGeometryServer2Proxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo) throws java.io.IOException
java.io.IOException
public void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource) throws java.io.IOException
com.esri.arcgis.interop.Dispatch
addListener
in class IGeometryServerProxy
iidStr
- the ID of the outgoing interface, implemented by the listenertheListener
- the object to be informed of the eventstheSource
- the proxy class that represents the COM class that is the source of the eventsjava.io.IOException
public void removeListener(java.lang.String iidStr, java.lang.Object theListener) throws java.io.IOException
com.esri.arcgis.interop.Dispatch
removeListener
in class IGeometryServerProxy
iidStr
- the ID of the outgoing interface, implemented by the listenertheListener
- the object that no longer wishes to be informed of the eventsjava.io.IOException
public void getAreasAndLengths2(ISpatialReference pSR, IPolygonArray pInPolygons, ILinearUnit pLengthUnit, ILinearUnit pAreaUnit, int areaUnitEnum, IDoubleArray[] ppAreas, IDoubleArray[] ppLengths) throws java.io.IOException, AutomationException
getAreasAndLengths2
in interface IGeometryServer2
pSR
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)pInPolygons
- A reference to a com.esri.arcgis.geometry.IPolygonArray (in)pLengthUnit
- A reference to a com.esri.arcgis.geometry.ILinearUnit (in)pAreaUnit
- A reference to a com.esri.arcgis.geometry.ILinearUnit (in)areaUnitEnum
- A com.esri.arcgis.system.esriAreaUnits constant (in)ppAreas
- A reference to a com.esri.arcgis.system.IDoubleArray (out: use single element array)ppLengths
- A reference to a com.esri.arcgis.system.IDoubleArray (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IDoubleArray getLengths2(ISpatialReference pSR, IPolylineArray pInPolylines, ILinearUnit pLengthUnit) throws java.io.IOException, AutomationException
getLengths2
in interface IGeometryServer2
pSR
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)pInPolylines
- A reference to a com.esri.arcgis.geometry.IPolylineArray (in)pLengthUnit
- A reference to a com.esri.arcgis.geometry.ILinearUnit (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IGeometryArray densifyGeodesic(ISpatialReference pSR, IGeometryArray pInGeometries, double maxSegmentLength, ILinearUnit pLengthUnit) throws java.io.IOException, AutomationException
densifyGeodesic
in interface IGeometryServer2
pSR
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)pInGeometries
- A reference to a com.esri.arcgis.geometry.IGeometryArray (in)maxSegmentLength
- The maxSegmentLength (in)pLengthUnit
- A reference to a com.esri.arcgis.geometry.ILinearUnit (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IDoubleArray getLengthsGeodesic(ISpatialReference pSR, IPolylineArray polylines, ILinearUnit pLengthUnit) throws java.io.IOException, AutomationException
getLengthsGeodesic
in interface IGeometryServer2
pSR
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)polylines
- A reference to a com.esri.arcgis.geometry.IPolylineArray (in)pLengthUnit
- A reference to a com.esri.arcgis.geometry.ILinearUnit (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getDistance(ISpatialReference pSR, IGeometry pG1, IGeometry pG2, ILinearUnit pDistanceUnit) throws java.io.IOException, AutomationException
getDistance
in interface IGeometryServer2
pSR
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)pG1
- A reference to a com.esri.arcgis.geometry.IGeometry (in)pG2
- A reference to a com.esri.arcgis.geometry.IGeometry (in)pDistanceUnit
- A reference to a com.esri.arcgis.geometry.ILinearUnit (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IGeometry union(ISpatialReference pSR, IGeometryArray pInGA) throws java.io.IOException, AutomationException
union
in interface IGeometryServer2
pSR
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)pInGA
- A reference to a com.esri.arcgis.geometry.IGeometryArray (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IGeometryArray intersect(ISpatialReference pSR, IGeometryArray pInGA1, IGeometry pInG2) throws java.io.IOException, AutomationException
intersect
in interface IGeometryServer2
pSR
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)pInGA1
- A reference to a com.esri.arcgis.geometry.IGeometryArray (in)pInG2
- A reference to a com.esri.arcgis.geometry.IGeometry (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IGeometryArray difference(ISpatialReference pSR, IGeometryArray pInGA1, IGeometry pInG2) throws java.io.IOException, AutomationException
difference
in interface IGeometryServer2
pSR
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)pInGA1
- A reference to a com.esri.arcgis.geometry.IGeometryArray (in)pInG2
- A reference to a com.esri.arcgis.geometry.IGeometry (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IGeometryArray cut(ISpatialReference pSR, IGeometryArray pTargets, IPolyline pCutter, ILongArray[] ppCutIndexes) throws java.io.IOException, AutomationException
cut
in interface IGeometryServer2
pSR
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)pTargets
- A reference to a com.esri.arcgis.geometry.IGeometryArray (in)pCutter
- A reference to a com.esri.arcgis.geometry.IPolyline (in)ppCutIndexes
- A reference to a com.esri.arcgis.system.ILongArray (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IPolylineArray trimExtend(ISpatialReference pSR, IPolylineArray pInPA, IPolyline pTrimExtendTo, int extendHow) throws java.io.IOException, AutomationException
trimExtend
in interface IGeometryServer2
pSR
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)pInPA
- A reference to a com.esri.arcgis.geometry.IPolylineArray (in)pTrimExtendTo
- A reference to a com.esri.arcgis.geometry.IPolyline (in)extendHow
- The extendHow (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IGeometryArray offset(ISpatialReference pSR, IGeometryArray pInGA, double offsetDistance, ILinearUnit pOffsetUnit, int offsetHow, double bevelRatio) throws java.io.IOException, AutomationException
offset
in interface IGeometryServer2
pSR
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)pInGA
- A reference to a com.esri.arcgis.geometry.IGeometryArray (in)offsetDistance
- The offsetDistance (in)pOffsetUnit
- A reference to a com.esri.arcgis.geometry.ILinearUnit (in)offsetHow
- The offsetHow (in)bevelRatio
- The bevelRatio (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IGeometryArray generalize(ISpatialReference pSR, IGeometryArray pInGA, double maxDeviation, ILinearUnit pDeviationUnit) throws java.io.IOException, AutomationException
generalize
in interface IGeometryServer2
pSR
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)pInGA
- A reference to a com.esri.arcgis.geometry.IGeometryArray (in)maxDeviation
- The maxDeviation (in)pDeviationUnit
- A reference to a com.esri.arcgis.geometry.ILinearUnit (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IGeometry reshape(ISpatialReference pSR, IGeometry pTarget, IPolyline pReshaper) throws java.io.IOException, AutomationException
reshape
in interface IGeometryServer2
pSR
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)pTarget
- A reference to a com.esri.arcgis.geometry.IGeometry (in)pReshaper
- A reference to a com.esri.arcgis.geometry.IPolyline (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IGeometry convexHull(ISpatialReference pSR, IGeometryArray pInGeometryArray) throws java.io.IOException, AutomationException
convexHull
in interface IGeometryServer2
pSR
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)pInGeometryArray
- A reference to a com.esri.arcgis.geometry.IGeometryArray (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IPolygonArray autoComplete(ISpatialReference pSR, IPolygonArray pInPolygons, IPolylineArray pCompletionLines) throws java.io.IOException, AutomationException
autoComplete
in interface IGeometryServer2
pSR
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)pInPolygons
- A reference to a com.esri.arcgis.geometry.IPolygonArray (in)pCompletionLines
- A reference to a com.esri.arcgis.geometry.IPolylineArray (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getDistanceGeodesic(ISpatialReference pSR, IGeometry pG1, IGeometry pG2, ILinearUnit pDistanceUnit) throws java.io.IOException, AutomationException
getDistanceGeodesic
in interface IGeometryServer2
pSR
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)pG1
- A reference to a com.esri.arcgis.geometry.IGeometry (in)pG2
- A reference to a com.esri.arcgis.geometry.IGeometry (in)pDistanceUnit
- A reference to a com.esri.arcgis.geometry.ILinearUnit (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.