com.esri.arcgis.geometry
Class IGeometryServer2Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geometry.IGeometryServerProxy
          extended by com.esri.arcgis.geometry.IGeometryServer2Proxy
All Implemented Interfaces:
IGeometryServer, IGeometryServer2, java.io.Externalizable, java.io.Serializable
Direct Known Subclasses:
IGeometryServer3Proxy

Deprecated. Internal use only. Proxy for COM Interface 'IGeometryServer2'. Generated 3/19/2015 1:20:56 PM from 'C:\ArcGIS\COM\esriGeometry.olb'

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

Internal use class

See Also:
Serialized Form

Field Summary
 boolean noncastable
          Deprecated.  
static java.lang.Class targetClass
          Deprecated.  
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.geometry.IGeometryServer2
IID, IIDf3b51e61_2b28_4033_9615_d93a76171a85
 
Fields inherited from interface com.esri.arcgis.geometry.IGeometryServer
IIDcb6db57f_ca37_485d_b0a5_0931fa62ab84
 
Constructor Summary
  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.  
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
          Deprecated.  
 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-Poiker) 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.  
 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).
 
Methods inherited from class com.esri.arcgis.geometry.IGeometryServerProxy
buffer, densify, findSRByWKID, findSRByWKT, findUnitsByWKID, findUnitsByWKT, getAreasAndLengths, getLabelPoints, getLengths, project, relation, simplify
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.geometry.IGeometryServer
buffer, densify, findSRByWKID, findSRByWKT, findUnitsByWKID, findUnitsByWKT, getAreasAndLengths, getLabelPoints, getLengths, project, relation, simplify
 

Field Detail

targetClass

public static final java.lang.Class targetClass
Deprecated. 

noncastable

public boolean noncastable
Deprecated. 
Constructor Detail

IGeometryServer2Proxy

public IGeometryServer2Proxy(java.lang.String CLSID,
                             java.lang.String host,
                             com.esri.arcgis.interop.AuthInfo authInfo)
                      throws java.net.UnknownHostException,
                             java.io.IOException
Deprecated. 
Throws:
java.net.UnknownHostException
java.io.IOException

IGeometryServer2Proxy

public IGeometryServer2Proxy()
Deprecated. 
For internal use only


IGeometryServer2Proxy

public IGeometryServer2Proxy(java.lang.Object obj)
                      throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

IGeometryServer2Proxy

protected IGeometryServer2Proxy(java.lang.Object obj,
                                java.lang.String iid)
                         throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

IGeometryServer2Proxy

protected IGeometryServer2Proxy(java.lang.String CLSID,
                                java.lang.String iid,
                                java.lang.String host,
                                com.esri.arcgis.interop.AuthInfo authInfo)
                         throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Deprecated. 
Overrides:
addListener in class IGeometryServerProxy
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Deprecated. 
Overrides:
removeListener in class IGeometryServerProxy
Throws:
java.io.IOException

getAreasAndLengths2

public void getAreasAndLengths2(ISpatialReference pSR,
                                IPolygonArray pInPolygons,
                                ILinearUnit pLengthUnit,
                                ILinearUnit pAreaUnit,
                                int areaUnitEnum,
                                IDoubleArray[] ppAreas,
                                IDoubleArray[] ppLengths)
                         throws java.io.IOException,
                                AutomationException
Deprecated. 
Calculates areas and perimeter lengths for each polygon in the specified array. Optionally does unit conversion.

Specified by:
getAreasAndLengths2 in interface IGeometryServer2
Parameters:
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)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLengths2

public IDoubleArray getLengths2(ISpatialReference pSR,
                                IPolylineArray pInPolylines,
                                ILinearUnit pLengthUnit)
                         throws java.io.IOException,
                                AutomationException
Deprecated. 
Calculates the length of eacch polyline in the specified array. Optionally does unit conversion.

Specified by:
getLengths2 in interface IGeometryServer2
Parameters:
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)
Returns:
A reference to a com.esri.arcgis.system.IDoubleArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

densifyGeodesic

public IGeometryArray densifyGeodesic(ISpatialReference pSR,
                                      IGeometryArray pInGeometries,
                                      double maxSegmentLength,
                                      ILinearUnit pLengthUnit)
                               throws java.io.IOException,
                                      AutomationException
Deprecated. 
Densifies geometries by plotting points along the geodesics between existing vertices (uses IPolycurve4::GeodesicDensify).

Specified by:
densifyGeodesic in interface IGeometryServer2
Parameters:
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)
Returns:
A reference to a com.esri.arcgis.geometry.IGeometryArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLengthsGeodesic

public IDoubleArray getLengthsGeodesic(ISpatialReference pSR,
                                       IPolylineArray polylines,
                                       ILinearUnit pLengthUnit)
                                throws java.io.IOException,
                                       AutomationException
Deprecated. 
Returns geodesic length of each Polyline.

Specified by:
getLengthsGeodesic in interface IGeometryServer2
Parameters:
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)
Returns:
A reference to a com.esri.arcgis.system.IDoubleArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDistance

public double getDistance(ISpatialReference pSR,
                          IGeometry pG1,
                          IGeometry pG2,
                          ILinearUnit pDistanceUnit)
                   throws java.io.IOException,
                          AutomationException
Deprecated. 
Reports shortest distance between G1 and G2.

Specified by:
getDistance in interface IGeometryServer2
Parameters:
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)
Returns:
The pDistance
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

union

public IGeometry union(ISpatialReference pSR,
                       IGeometryArray pInGA)
                throws java.io.IOException,
                       AutomationException
Deprecated. 
Returns the topological union of the input geometries (uses ITopologicalOperator::ConstructUnion). The input geometries must have the same dimension (0d, 1d, 2d).

Specified by:
union in interface IGeometryServer2
Parameters:
pSR - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
pInGA - A reference to a com.esri.arcgis.geometry.IGeometryArray (in)
Returns:
A reference to a com.esri.arcgis.geometry.IGeometry
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

intersect

public IGeometryArray intersect(ISpatialReference pSR,
                                IGeometryArray pInGA1,
                                IGeometry pInG2)
                         throws java.io.IOException,
                                AutomationException
Deprecated. 
Returns an array of geometries where each result geometry R[i] is (array1[i] intersect G2. If G2 is an Envelope, then this is clipping.

Specified by:
intersect in interface IGeometryServer2
Parameters:
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)
Returns:
A reference to a com.esri.arcgis.geometry.IGeometryArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

difference

public IGeometryArray difference(ISpatialReference pSR,
                                 IGeometryArray pInGA1,
                                 IGeometry pInG2)
                          throws java.io.IOException,
                                 AutomationException
Deprecated. 
Returns an array of geometries where each result geometry R[i] is (array1[i] difference G2).

Specified by:
difference in interface IGeometryServer2
Parameters:
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)
Returns:
A reference to a com.esri.arcgis.geometry.IGeometryArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

cut

public IGeometryArray cut(ISpatialReference pSR,
                          IGeometryArray pTargets,
                          IPolyline pCutter,
                          ILongArray[] ppCutIndexes)
                   throws java.io.IOException,
                          AutomationException
Deprecated. 
Cuts the target polyline or polygon Cutter.

Specified by:
cut in interface IGeometryServer2
Parameters:
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)
Returns:
A reference to a com.esri.arcgis.geometry.IGeometryArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

trimExtend

public IPolylineArray trimExtend(ISpatialReference pSR,
                                 IPolylineArray pInPA,
                                 IPolyline pTrimExtendTo,
                                 int extendHow)
                          throws java.io.IOException,
                                 AutomationException
Deprecated. 
Trims or extends each polyline in the input array using TrimExtendTo (uses IConstructCurve::ConstructExtended for extension operation).

Specified by:
trimExtend in interface IGeometryServer2
Parameters:
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)
Returns:
A reference to a com.esri.arcgis.geometry.IPolylineArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

offset

public IGeometryArray offset(ISpatialReference pSR,
                             IGeometryArray pInGA,
                             double offsetDistance,
                             ILinearUnit pOffsetUnit,
                             int offsetHow,
                             double bevelRatio)
                      throws java.io.IOException,
                             AutomationException
Deprecated. 
Returns an array of polylines and polygons that are offset versions of the input polylines and polygons (uses ITopologicalOperator::ConstructOffset).

Specified by:
offset in interface IGeometryServer2
Parameters:
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)
Returns:
A reference to a com.esri.arcgis.geometry.IGeometryArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

generalize

public IGeometryArray generalize(ISpatialReference pSR,
                                 IGeometryArray pInGA,
                                 double maxDeviation,
                                 ILinearUnit pDeviationUnit)
                          throws java.io.IOException,
                                 AutomationException
Deprecated. 
Returns generalized (Douglas-Poiker) versions of the input polylines and polygons (uses IPolycurve::Generalize).

Specified by:
generalize in interface IGeometryServer2
Parameters:
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)
Returns:
A reference to a com.esri.arcgis.geometry.IGeometryArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reshape

public IGeometry reshape(ISpatialReference pSR,
                         IGeometry pTarget,
                         IPolyline pReshaper)
                  throws java.io.IOException,
                         AutomationException
Deprecated. 
Reshapes the target polyline or polygon. The reshaping polyline can have only one part. If the target was not reshaped, an empty geometry of the saem type is returned.

Specified by:
reshape in interface IGeometryServer2
Parameters:
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)
Returns:
A reference to a com.esri.arcgis.geometry.IGeometry
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

convexHull

public IGeometry convexHull(ISpatialReference pSR,
                            IGeometryArray pInGeometryArray)
                     throws java.io.IOException,
                            AutomationException
Deprecated. 
Computes the convex hull of the input geometries

Specified by:
convexHull in interface IGeometryServer2
Parameters:
pSR - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
pInGeometryArray - A reference to a com.esri.arcgis.geometry.IGeometryArray (in)
Returns:
A reference to a com.esri.arcgis.geometry.IGeometry
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

autoComplete

public IPolygonArray autoComplete(ISpatialReference pSR,
                                  IPolygonArray pInPolygons,
                                  IPolylineArray pCompletionLines)
                           throws java.io.IOException,
                                  AutomationException
Deprecated. 
Discovers polygons bounded by existing polygons and input linework.

Specified by:
autoComplete in interface IGeometryServer2
Parameters:
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)
Returns:
A reference to a com.esri.arcgis.geometry.IPolygonArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDistanceGeodesic

public double getDistanceGeodesic(ISpatialReference pSR,
                                  IGeometry pG1,
                                  IGeometry pG2,
                                  ILinearUnit pDistanceUnit)
                           throws java.io.IOException,
                                  AutomationException
Deprecated. 
Reports the shortest geodesic distance between G1 and G2.

Specified by:
getDistanceGeodesic in interface IGeometryServer2
Parameters:
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)
Returns:
The pDistanceGeodesic
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.