com.esri.arcgis.geometry
Interface IGeometryServer

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
IGeometryServer2, IGeometryServer3
All Known Implementing Classes:
GeometryServer, GeometryServerImpl, IGeometryServer2Proxy, IGeometryServer3Proxy, IGeometryServerProxy

public interface IGeometryServer
extends java.io.Serializable

COM Interface 'IGeometryServer'. Generated 3/19/2015 1:20:56 PM from 'C:\ArcGIS\COM\esriGeometry.olb'

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 =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IIDcb6db57f_ca37_485d_b0a5_0931fa62ab84
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 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.
 IGeometryArray densify(ISpatialReference pSR, IGeometryArray pInGeometries, double maxSegmentLength, boolean useDeviationDensification, double densificationParameter)
          Applies the ArcObjects 'Densify' operation to each element of the geometry array.
 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.
 void getAreasAndLengths(ISpatialReference pSR, IPolygonArray pInPolygons, IDoubleArray[] ppAreas, IDoubleArray[] ppLengths)
          Calculates areas and perimeter lengths for each polygon in the specified array.
 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.
 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.
 IGeometryArray simplify(ISpatialReference pSR, IGeometryArray pInGeometries)
          Applies the ArcObjects 'Simplify' operation to each element of the geometry array.
 

Field Detail

IIDcb6db57f_ca37_485d_b0a5_0931fa62ab84

static final int IIDcb6db57f_ca37_485d_b0a5_0931fa62ab84
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

project

IGeometryArray project(ISpatialReference pInSR,
                       ISpatialReference pOutSR,
                       int xFormDir,
                       ITransformation pXForm,
                       IEnvelope pExtent,
                       IGeometryArray pInGeometries)
                       throws java.io.IOException,
                              AutomationException
Projects an array of geometries from their current spatial reference (pInSR) to a destination spatial reference (pOutSR). The projection process can optionally include a datum transformation if the source and destination SRs have different GCSs.

Parameters:
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)
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.

buffer

IGeometryArray buffer(ISpatialReference pInSR,
                      ISpatialReference pBufferSR,
                      ISpatialReference pOutSR,
                      IDoubleArray pDistances,
                      IUnit pUnit,
                      boolean bUnion,
                      IGeometryArray pInGeometries)
                      throws java.io.IOException,
                             AutomationException
Buffers an array of geometries by each distance specified in an array of distances. The distance units can optionally be specified. Geometries buffered at a given distance can optionally be unioned together.

Parameters:
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)
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.

relation

IRelationResultArray relation(ISpatialReference pSR,
                              IGeometryArray pInGA1,
                              IGeometryArray pInGA2,
                              int r,
                              java.lang.String param)
                              throws java.io.IOException,
                                     AutomationException
Determines the pairs of geometries from the input geometry arrays that participate in the specified spatial relation.

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

simplify

IGeometryArray simplify(ISpatialReference pSR,
                        IGeometryArray pInGeometries)
                        throws java.io.IOException,
                               AutomationException
Applies the ArcObjects 'Simplify' operation to each element of the geometry array.

Parameters:
pSR - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
pInGeometries - A reference to a com.esri.arcgis.geometry.IGeometryArray (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.

densify

IGeometryArray densify(ISpatialReference pSR,
                       IGeometryArray pInGeometries,
                       double maxSegmentLength,
                       boolean useDeviationDensification,
                       double densificationParameter)
                       throws java.io.IOException,
                              AutomationException
Applies the ArcObjects 'Densify' operation to each element of the geometry array.

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)
useDeviationDensification - The useDeviationDensification (in)
densificationParameter - The densificationParameter (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.

findSRByWKID

ISpatialReference findSRByWKID(java.lang.String authority,
                               int wKID,
                               int wKID_Z,
                               boolean bDefaultXYResolution,
                               boolean bDefaultXYTolerance)
                               throws java.io.IOException,
                                      AutomationException
Defines an SR based upon its well known identifier (WKID) and optionally a WKID for a vertical datum. The resolution and xy tolerances are either computed from the sr horizon or set to defaults. 'authority' is typically either 'EPSG' or 'Esri'.

Parameters:
authority - The authority (in)
wKID - The wKID (in)
wKID_Z - The wKID_Z (in)
bDefaultXYResolution - The bDefaultXYResolution (in)
bDefaultXYTolerance - The bDefaultXYTolerance (in)
Returns:
A reference to a com.esri.arcgis.geometry.ISpatialReference
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findSRByWKT

ISpatialReference findSRByWKT(java.lang.String wKT,
                              java.lang.String wKT_Z,
                              boolean bDefaultXYResolution,
                              boolean bDefaultXYTolerance)
                              throws java.io.IOException,
                                     AutomationException
Defines a spatial reference object based upon its well known text string (WKT) and optionally a WKT for a vertical datum. The resolution and xy tolerances are either computed from the sr horizon or set to defaults. The output sr is always high precision.

Parameters:
wKT - The wKT (in)
wKT_Z - The wKT_Z (in)
bDefaultXYResolution - The bDefaultXYResolution (in)
bDefaultXYTolerance - The bDefaultXYTolerance (in)
Returns:
A reference to a com.esri.arcgis.geometry.ISpatialReference
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findUnitsByWKID

IUnit findUnitsByWKID(java.lang.String authority,
                      int wKID)
                      throws java.io.IOException,
                             AutomationException
Defines a unit object based upon its well known identified (WKID). 'authority' is typically either 'EPSG' or 'Esri'.

Parameters:
authority - The authority (in)
wKID - The wKID (in)
Returns:
A reference to a com.esri.arcgis.geometry.IUnit
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findUnitsByWKT

IUnit findUnitsByWKT(java.lang.String wKT)
                     throws java.io.IOException,
                            AutomationException
Defines a unit object based upon its well known text string.

Parameters:
wKT - The wKT (in)
Returns:
A reference to a com.esri.arcgis.geometry.IUnit
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAreasAndLengths

void getAreasAndLengths(ISpatialReference pSR,
                        IPolygonArray pInPolygons,
                        IDoubleArray[] ppAreas,
                        IDoubleArray[] ppLengths)
                        throws java.io.IOException,
                               AutomationException
Calculates areas and perimeter lengths for each polygon in the specified array.

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

getLengths

IDoubleArray getLengths(ISpatialReference pSR,
                        IPolylineArray pInPolylines)
                        throws java.io.IOException,
                               AutomationException
Calculates the length of eacch polyline in the specified array.

Parameters:
pSR - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
pInPolylines - A reference to a com.esri.arcgis.geometry.IPolylineArray (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.

getLabelPoints

IPointArray getLabelPoints(ISpatialReference pSR,
                           IPolygonArray pInPolygons)
                           throws java.io.IOException,
                                  AutomationException
Calculates an interior point for each polygon.

Parameters:
pSR - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
pInPolygons - A reference to a com.esri.arcgis.geometry.IPolygonArray (in)
Returns:
A reference to a com.esri.arcgis.geometry.IPointArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.