public interface IGeometryServer2 extends IGeometryServer, java.io.Serializable
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 =
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
IID
Deprecated.
Internal use only
|
static int |
IIDf3b51e61_2b28_4033_9615_d93a76171a85 |
static int |
xxDummy
Deprecated.
Internal use only
|
IIDcb6db57f_ca37_485d_b0a5_0931fa62ab84
Modifier and Type | Method and Description |
---|---|
IPolygonArray |
autoComplete(ISpatialReference pSR,
IPolygonArray pInPolygons,
IPolylineArray pCompletionLines)
Discovers polygons bounded by existing polygons and input linework.
|
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.
|
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).
|
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 |
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.
|
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.
|
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.
|
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).
|
IGeometry |
reshape(ISpatialReference pSR,
IGeometry pTarget,
IPolyline pReshaper)
Reshapes the target polyline or polygon.
|
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).
|
buffer, densify, findSRByWKID, findSRByWKT, findUnitsByWKID, findUnitsByWKT, getAreasAndLengths, getLabelPoints, getLengths, project, relation, simplify
static final int IIDf3b51e61_2b28_4033_9615_d93a76171a85
static final int xxDummy
static final java.lang.String IID
void getAreasAndLengths2(ISpatialReference pSR, IPolygonArray pInPolygons, ILinearUnit pLengthUnit, ILinearUnit pAreaUnit, int areaUnitEnum, IDoubleArray[] ppAreas, IDoubleArray[] ppLengths) throws java.io.IOException, AutomationException
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.IDoubleArray getLengths2(ISpatialReference pSR, IPolylineArray pInPolylines, ILinearUnit pLengthUnit) throws java.io.IOException, AutomationException
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.IGeometryArray densifyGeodesic(ISpatialReference pSR, IGeometryArray pInGeometries, double maxSegmentLength, ILinearUnit pLengthUnit) throws java.io.IOException, AutomationException
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.IDoubleArray getLengthsGeodesic(ISpatialReference pSR, IPolylineArray polylines, ILinearUnit pLengthUnit) throws java.io.IOException, AutomationException
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.double getDistance(ISpatialReference pSR, IGeometry pG1, IGeometry pG2, ILinearUnit pDistanceUnit) throws java.io.IOException, AutomationException
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.IGeometry union(ISpatialReference pSR, IGeometryArray pInGA) throws java.io.IOException, AutomationException
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.IGeometryArray intersect(ISpatialReference pSR, IGeometryArray pInGA1, IGeometry pInG2) throws java.io.IOException, AutomationException
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.IGeometryArray difference(ISpatialReference pSR, IGeometryArray pInGA1, IGeometry pInG2) throws java.io.IOException, AutomationException
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.IGeometryArray cut(ISpatialReference pSR, IGeometryArray pTargets, IPolyline pCutter, ILongArray[] ppCutIndexes) throws java.io.IOException, AutomationException
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.IPolylineArray trimExtend(ISpatialReference pSR, IPolylineArray pInPA, IPolyline pTrimExtendTo, int extendHow) throws java.io.IOException, AutomationException
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.IGeometryArray offset(ISpatialReference pSR, IGeometryArray pInGA, double offsetDistance, ILinearUnit pOffsetUnit, int offsetHow, double bevelRatio) throws java.io.IOException, AutomationException
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.IGeometryArray generalize(ISpatialReference pSR, IGeometryArray pInGA, double maxDeviation, ILinearUnit pDeviationUnit) throws java.io.IOException, AutomationException
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.IGeometry reshape(ISpatialReference pSR, IGeometry pTarget, IPolyline pReshaper) throws java.io.IOException, AutomationException
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.IGeometry convexHull(ISpatialReference pSR, IGeometryArray pInGeometryArray) throws java.io.IOException, AutomationException
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.IPolygonArray autoComplete(ISpatialReference pSR, IPolygonArray pInPolygons, IPolylineArray pCompletionLines) throws java.io.IOException, AutomationException
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.double getDistanceGeodesic(ISpatialReference pSR, IGeometry pG1, IGeometry pG2, ILinearUnit pDistanceUnit) throws java.io.IOException, AutomationException
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.