public class GeometryServer extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IObjectConstruct, IRequestHandler, IRequestHandler2, IObjectActivate, ILogSupport, ISupportErrorInfo, IServerObject, IServerObjectExtensionManager, IGeometryServer, IGeometryServer2
Description 'Provides access to standard operations on geometric 'value' objects. The input geometries are never modified by these operations. Designed for use in building web services and web 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 =
IID, IID8319e7d0_8ad1_48ed_aa99_03f9d0c93ba8, xxDummy
IID46a0e2ea_3b64_4a46_bd78_88a1660f35bb
IID, IIDe3b78022_143e_4e61_9099_ed319ec061e7, xxDummy
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
IID, IID0ad6ab40_9d6a_4bf8_8b86_eb89406dfc6c, xxDummy
IID, IID25d8b9dd_c7e8_4da4_bf4b_08a67087ceea, xxDummy
IID, IIDf3b51e61_2b28_4033_9615_d93a76171a85, xxDummy
IIDcb6db57f_ca37_485d_b0a5_0931fa62ab84
Constructor and Description |
---|
GeometryServer()
Constructs a GeometryServer using ArcGIS Engine.
|
GeometryServer(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
GeometryServer theGeometryServer = (GeometryServer) obj; |
Modifier and Type | Method and Description |
---|---|
void |
activate()
Activates the object.
|
IPolygonArray |
autoComplete(ISpatialReference pSR,
IPolygonArray pInPolygons,
IPolylineArray pCompletionLines)
Discovers polygons bounded by existing polygons and input linework.
|
IGeometryArray |
buffer(ISpatialReference pInSR,
ISpatialReference pBufferSR,
ISpatialReference pOutSR,
IDoubleArray pDistances,
IUnit pUnit,
boolean bUnion,
IGeometryArray pInGeometries)
Buffers an array of geometries by each distance specified in an array of distances.
|
void |
construct(IPropertySet props)
Two phase object construction.
|
IGeometry |
convexHull(ISpatialReference pSR,
IGeometryArray pInGeometryArray)
Computes the convex hull of the input geometries
|
IGeometryArray |
cut(ISpatialReference pSR,
IGeometryArray pTargets,
IPolyline pCutter,
ILongArray[] ppCutIndexes)
Cuts the target polyline or polygon Cutter.
|
void |
deactivate()
Deactivates the object.
|
IGeometryArray |
densify(ISpatialReference pSR,
IGeometryArray pInGeometries,
double maxSegmentLength,
boolean useDeviationDensification,
double densificationParameter)
Applies the ArcObjects 'Densify' operation to each element of the geometry array.
|
IGeometryArray |
densifyGeodesic(ISpatialReference pSR,
IGeometryArray pInGeometries,
double maxSegmentLength,
ILinearUnit pLengthUnit)
Densifies geometries by plotting points along the geodesics between existing vertices (uses IPolycurve4::GeodesicDensify).
|
IGeometryArray |
difference(ISpatialReference pSR,
IGeometryArray pInGA1,
IGeometry pInG2)
Returns an array of geometries where each result geometry R[i] is (array1[i] difference G2).
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
IServerObjectExtension |
findExtensionByCLSID(java.lang.String cLSID)
Returns a server object extension found using a string representation of its class ID.
|
IServerObjectExtension |
findExtensionByTypeName(java.lang.String name)
Returns a server object extension found using its type name.
|
ISpatialReference |
findSRByWKID(java.lang.String authority,
int wkid,
int wKID_Z,
boolean bDefaultXYResolution,
boolean bDefaultXYTolerance)
Defines an SR based upon its well known identifier (WKID) and optionally a WKID for a vertical datum.
|
ISpatialReference |
findSRByWKT(java.lang.String wkt,
java.lang.String wKT_Z,
boolean bDefaultXYResolution,
boolean bDefaultXYTolerance)
Defines a spatial reference object based upon its well known text string (WKT) and optionally a WKT for a vertical datum.
|
IUnit |
findUnitsByWKID(java.lang.String authority,
int wkid)
Defines a unit object based upon its well known identified (WKID).
|
IUnit |
findUnitsByWKT(java.lang.String wkt)
Defines a unit object based upon its well known text string.
|
IGeometryArray |
generalize(ISpatialReference pSR,
IGeometryArray pInGA,
double maxDeviation,
ILinearUnit pDeviationUnit)
Returns generalized (Douglas-Peucker) versions of the input polylines and polygons (uses IPolycurve::Generalize).
|
void |
getAreasAndLengths(ISpatialReference pSR,
IPolygonArray pInPolygons,
IDoubleArray[] ppAreas,
IDoubleArray[] ppLengths)
Calculates areas and perimeter lengths for each polygon in the specified array.
|
void |
getAreasAndLengths2(ISpatialReference pSR,
IPolygonArray pInPolygons,
ILinearUnit pLengthUnit,
ILinearUnit pAreaUnit,
int areaUnitEnum,
IDoubleArray[] ppAreas,
IDoubleArray[] ppLengths)
Calculates areas and perimeter lengths for each polygon in the specified array.
|
static java.lang.String |
getClsid()
getClsid.
|
java.lang.String |
getConfigurationName()
Name of the server object configuration that defines the server object.
|
double |
getDistance(ISpatialReference pSR,
IGeometry pG1,
IGeometry pG2,
ILinearUnit pDistanceUnit)
Reports shortest distance between G1 and G2.
|
double |
getDistanceGeodesic(ISpatialReference pSR,
IGeometry pG1,
IGeometry pG2,
ILinearUnit pDistanceUnit)
Reports the shortest geodesic distance between G1 and G2.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
IPointArray |
getLabelPoints(ISpatialReference pSR,
IPolygonArray pInPolygons)
Calculates an interior point for each polygon.
|
IDoubleArray |
getLengths(ISpatialReference pSR,
IPolylineArray pInPolylines)
Calculates the length of eacch polyline in the specified array.
|
IDoubleArray |
getLengths2(ISpatialReference pSR,
IPolylineArray pInPolylines,
ILinearUnit pLengthUnit)
Calculates the length of eacch polyline in the specified array.
|
IDoubleArray |
getLengthsGeodesic(ISpatialReference pSR,
IPolylineArray polylines,
ILinearUnit pLengthUnit)
Returns geodesic length of each Polyline.
|
java.lang.String |
getTypeName()
Type of the server object (MapServer or GeocodeServer).
|
byte[] |
handleBinaryRequest(byte[] request)
Handles a binary request.
|
byte[] |
handleBinaryRequest2(java.lang.String capabilities,
byte[] request)
Handles a binary request with explicit capabilities.
|
java.lang.String |
handleStringRequest(java.lang.String capabilities,
java.lang.String request)
Handles a SOAP string request.
|
int |
hashCode()
the hashcode for this object
|
void |
initLogging(ILog log)
Initializes an object with a log.
|
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo
|
IGeometryArray |
intersect(ISpatialReference pSR,
IGeometryArray pInGA1,
IGeometry pInG2)
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)
Returns an array of polylines and polygons that are offset versions of the input polylines and polygons (uses ITopologicalOperator::ConstructOffset).
|
IGeometryArray |
project(ISpatialReference pInSR,
ISpatialReference pOutSR,
int xFormDir,
ITransformation pXForm,
IEnvelope pExtent,
IGeometryArray pInGeometries)
Projects an array of geometries from their current spatial reference (pInSR) to a destination spatial reference (pOutSR).
|
IRelationResultArray |
relation(ISpatialReference pSR,
IGeometryArray pInGA1,
IGeometryArray pInGA2,
int r,
java.lang.String param)
Determines the pairs of geometries from the input geometry arrays that participate in the specified spatial relation.
|
void |
release()
Release this COM object reference
|
IGeometry |
reshape(ISpatialReference pSR,
IGeometry pTarget,
IPolyline pReshaper)
Reshapes the target polyline or polygon.
|
IGeometryArray |
simplify(ISpatialReference pSR,
IGeometryArray pInGeometries)
Applies the ArcObjects 'Simplify' operation to each element of the geometry array.
|
IPolylineArray |
trimExtend(ISpatialReference pSR,
IPolylineArray pInPA,
IPolyline pTrimExtendTo,
int extendHow)
Trims or extends each polyline in the input array using TrimExtendTo (uses IConstructCurve::ConstructExtended for extension operation).
|
IGeometry |
union(ISpatialReference pSR,
IGeometryArray pInGA)
Returns the topological union of the input geometries (uses ITopologicalOperator::ConstructUnion).
|
public GeometryServer() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic GeometryServer(java.lang.Object obj) throws java.io.IOException
GeometryServer theGeometryServer = (GeometryServer) obj;
obj
to GeometryServer
.obj
- an object returned from ArcGIS Engine or Serverjava.io.IOException
- if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public void construct(IPropertySet props) throws java.io.IOException, AutomationException
construct
in interface IObjectConstruct
props
- A reference to a com.esri.arcgis.system.IPropertySet (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public byte[] handleBinaryRequest(byte[] request) throws java.io.IOException, AutomationException
handleBinaryRequest
in interface IRequestHandler
request
- An unsigned byte (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String handleStringRequest(java.lang.String capabilities, java.lang.String request) throws java.io.IOException, AutomationException
handleStringRequest
in interface IRequestHandler
capabilities
- The capabilities (in)request
- The request (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public byte[] handleBinaryRequest2(java.lang.String capabilities, byte[] request) throws java.io.IOException, AutomationException
handleBinaryRequest2
in interface IRequestHandler2
capabilities
- The capabilities (in)request
- An unsigned byte (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void activate() throws java.io.IOException, AutomationException
activate
in interface IObjectActivate
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void deactivate() throws java.io.IOException, AutomationException
deactivate
in interface IObjectActivate
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void initLogging(ILog log) throws java.io.IOException, AutomationException
initLogging
in interface ILogSupport
log
- A reference to a com.esri.arcgis.system.ILog (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws java.io.IOException, AutomationException
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getConfigurationName() throws java.io.IOException, AutomationException
getConfigurationName
in interface IServerObject
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getTypeName() throws java.io.IOException, AutomationException
getTypeName
in interface IServerObject
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IServerObjectExtension findExtensionByCLSID(java.lang.String cLSID) throws java.io.IOException, AutomationException
findExtensionByCLSID
in interface IServerObjectExtensionManager
cLSID
- The cLSID (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IServerObjectExtension findExtensionByTypeName(java.lang.String name) throws java.io.IOException, AutomationException
findExtensionByTypeName
in interface IServerObjectExtensionManager
name
- The name (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IGeometryArray project(ISpatialReference pInSR, ISpatialReference pOutSR, int xFormDir, ITransformation pXForm, IEnvelope pExtent, IGeometryArray pInGeometries) throws java.io.IOException, AutomationException
project
in interface IGeometryServer
pInSR
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)pOutSR
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)xFormDir
- A com.esri.arcgis.geometry.esriTransformDirection constant (in)pXForm
- A reference to a com.esri.arcgis.geometry.ITransformation (in)pExtent
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)pInGeometries
- 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 buffer(ISpatialReference pInSR, ISpatialReference pBufferSR, ISpatialReference pOutSR, IDoubleArray pDistances, IUnit pUnit, boolean bUnion, IGeometryArray pInGeometries) throws java.io.IOException, AutomationException
buffer
in interface IGeometryServer
pInSR
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)pBufferSR
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)pOutSR
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)pDistances
- A reference to a com.esri.arcgis.system.IDoubleArray (in)pUnit
- A reference to a com.esri.arcgis.geometry.IUnit (in)bUnion
- The bUnion (in)pInGeometries
- 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 IRelationResultArray relation(ISpatialReference pSR, IGeometryArray pInGA1, IGeometryArray pInGA2, int r, java.lang.String param) throws java.io.IOException, AutomationException
relation
in interface IGeometryServer
pSR
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)pInGA1
- A reference to a com.esri.arcgis.geometry.IGeometryArray (in)pInGA2
- A reference to a com.esri.arcgis.geometry.IGeometryArray (in)r
- A com.esri.arcgis.geometry.esriSpatialRelationEnum constant (in)param
- The param (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IGeometryArray simplify(ISpatialReference pSR, IGeometryArray pInGeometries) throws java.io.IOException, AutomationException
simplify
in interface IGeometryServer
pSR
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)pInGeometries
- 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 densify(ISpatialReference pSR, IGeometryArray pInGeometries, double maxSegmentLength, boolean useDeviationDensification, double densificationParameter) throws java.io.IOException, AutomationException
densify
in interface IGeometryServer
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)useDeviationDensification
- The useDeviationDensification (in)densificationParameter
- The densificationParameter (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public ISpatialReference findSRByWKID(java.lang.String authority, int wkid, int wKID_Z, boolean bDefaultXYResolution, boolean bDefaultXYTolerance) throws java.io.IOException, AutomationException
findSRByWKID
in interface IGeometryServer
authority
- The authority (in)wkid
- The wkid (in)wKID_Z
- The wKID_Z (in)bDefaultXYResolution
- The bDefaultXYResolution (in)bDefaultXYTolerance
- The bDefaultXYTolerance (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public ISpatialReference findSRByWKT(java.lang.String wkt, java.lang.String wKT_Z, boolean bDefaultXYResolution, boolean bDefaultXYTolerance) throws java.io.IOException, AutomationException
findSRByWKT
in interface IGeometryServer
wkt
- The wkt (in)wKT_Z
- The wKT_Z (in)bDefaultXYResolution
- The bDefaultXYResolution (in)bDefaultXYTolerance
- The bDefaultXYTolerance (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IUnit findUnitsByWKID(java.lang.String authority, int wkid) throws java.io.IOException, AutomationException
findUnitsByWKID
in interface IGeometryServer
authority
- The authority (in)wkid
- The wkid (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IUnit findUnitsByWKT(java.lang.String wkt) throws java.io.IOException, AutomationException
findUnitsByWKT
in interface IGeometryServer
wkt
- The wkt (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void getAreasAndLengths(ISpatialReference pSR, IPolygonArray pInPolygons, IDoubleArray[] ppAreas, IDoubleArray[] ppLengths) throws java.io.IOException, AutomationException
getAreasAndLengths
in interface IGeometryServer
pSR
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)pInPolygons
- A reference to a com.esri.arcgis.geometry.IPolygonArray (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 getLengths(ISpatialReference pSR, IPolylineArray pInPolylines) throws java.io.IOException, AutomationException
getLengths
in interface IGeometryServer
pSR
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)pInPolylines
- 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 IPointArray getLabelPoints(ISpatialReference pSR, IPolygonArray pInPolygons) throws java.io.IOException, AutomationException
getLabelPoints
in interface IGeometryServer
pSR
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)pInPolygons
- A reference to a com.esri.arcgis.geometry.IPolygonArray (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.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.