com.esri.arcgis.geometry
Class GeometryEnvironment

java.lang.Object
  extended by com.esri.arcgis.geometry.GeometryEnvironment
All Implemented Interfaces:
IConstructAngle, IConstructClothoid, IConstructDomainExtent, IConstructMerge, IEncode3DProperties, IExtrude, IGeometryBridge, IGeometryBridge2, IGeometryEnvironment, IGeometryEnvironment2, IGeometryEnvironment3, IGeometryEnvironment4, IGeometryFactory, IGeometryFactory2, IGeometryFactory3, com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, java.io.Serializable

public class GeometryEnvironment
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, IConstructAngle, IGeometryFactory, IGeometryFactory2, IGeometryFactory3, IGeometryEnvironment, IGeometryEnvironment2, IGeometryEnvironment3, IGeometryEnvironment4, IExtrude, IEncode3DProperties, IConstructDomainExtent, IGeometryBridge, IGeometryBridge2, IConstructMerge, IConstructClothoid

COM Class 'GeometryEnvironment'. Generated 3/19/2015 1:20:44 PM from 'C:\ArcGIS\COM\esriGeometry.olb'

Description 'Provides a way of creating geometries from different inputs and setting/getting global variables for controlling behavior of geometry methods.' 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 =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Fields inherited from interface com.esri.arcgis.geometry.IConstructAngle
IID, IID7e9812d8_5ac6_11d1_8352_0000f8775be9, xxDummy
 
Fields inherited from interface com.esri.arcgis.geometry.IGeometryFactory3
IID, IID7592c306_75b2_4a2c_8fee_c1abbe3d5491, xxDummy
 
Fields inherited from interface com.esri.arcgis.geometry.IGeometryFactory2
IID8859da8a_64e0_4f2b_bdfc_46182248bf53
 
Fields inherited from interface com.esri.arcgis.geometry.IGeometryFactory
IIDf71f8c16_ef07_11d0_8327_0000f8775be9
 
Fields inherited from interface com.esri.arcgis.geometry.IGeometryEnvironment4
IID, IIDabb994f7_df63_46d5_80b5_57ec1e0bfc88, xxDummy
 
Fields inherited from interface com.esri.arcgis.geometry.IGeometryEnvironment3
IID923d59be_a083_44b3_b9a8_a01a580c4f2e
 
Fields inherited from interface com.esri.arcgis.geometry.IGeometryEnvironment2
IID6dded3b4_1f7c_11d4_9f7f_00c04f6bc8e8
 
Fields inherited from interface com.esri.arcgis.geometry.IGeometryEnvironment
IIDe7a6280c_3e2f_11d3_9f41_00c04f6bdd7f
 
Fields inherited from interface com.esri.arcgis.geometry.IExtrude
IID, IID6b256ae0_1cde_11d4_9f5c_00c04f6bdf0d, xxDummy
 
Fields inherited from interface com.esri.arcgis.geometry.IEncode3DProperties
IID, IID7767a6f1_69d1_11d4_9f66_00c04f6bdf0d, xxDummy
 
Fields inherited from interface com.esri.arcgis.geometry.IConstructDomainExtent
IID, IID3f419d43_5486_11d2_aaeb_00c04fa33c20, xxDummy
 
Fields inherited from interface com.esri.arcgis.geometry.IGeometryBridge2
IID, IIDa83caa20_47e4_4a10_aa4c_bb2a25fe7108, xxDummy
 
Fields inherited from interface com.esri.arcgis.geometry.IGeometryBridge
IID518cba93_621e_476a_824d_26a104a42902
 
Fields inherited from interface com.esri.arcgis.geometry.IConstructMerge
IID, IID3313dab7_edad_46e0_87b9_c332ec64c5b3, xxDummy
 
Fields inherited from interface com.esri.arcgis.geometry.IConstructClothoid
IID, IID6203381c_a184_4a3e_88be_d19235f42177, xxDummy
 
Constructor Summary
GeometryEnvironment()
          Constructs a GeometryEnvironment using ArcGIS Engine.
GeometryEnvironment(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GeometryEnvironment theGeometryEnvironment = (GeometryEnvironment) obj;
 
Method Summary
 void addGeometries(IGeometryCollection pGeometryCollection, IGeometry[] newGeometries)
          Adds references to the specified geometries.
 void addPoints(IPointCollection4 pPointCollection, IPoint[] newPoints)
          Adds copies of the input points as vertices to this Path, Ring, Polyline, or Polygon; or references to the input points to this Multipoint, Triangles, TriangleFan, or TriangleStrip.
 void addSegments(ISegmentCollection pSegmentCollection, ISegment[] newSegments)
          Adds references to segments.
 void addWKSPoints(IPointCollection4 pPointCollection, _WKSPoint[] pointStructures)
          Adds vertices to this Path, Ring, Polyline, or Polygon, or adds new points to this Multipoint, Triangles, TriangleFan, or TriangleStrip.
 void addWKSPointZs(IPointCollection4 pPointCollection, _WKSPointZ[] pointStructures)
          Adds vertices/points to this Path, Ring, Polyline, Polygon, Multipoint, Triangles, TriangleFan, TriangleStrip, or MultiPatch.
 IEnumGeometry constructBuffers(ITopologicalOperator2 pTopologicalOperator, double[] distances)
          Constructs a set of buffers at various distances.
 IPolyline constructClothoidByAngle(IPoint pFrom, IPoint pFromTangent, boolean bCurveRight, double fromCurvature, double toCurvature, double deflectionAngle, int __MIDL__IConstructClothoid0001, double densifyParameter)
          Constructs a pieccewise linear approximation to a clothoid spiral.
 IPolyline constructClothoidByLength(IPoint pFrom, IPoint pFromTangent, boolean bCurveRight, double fromCurvature, double toCurvature, double curveLength, int __MIDL__IConstructClothoid0000, double densifyParameter)
          Constructs a pieccewise linear approximation to a clothoid spiral.
 IEnvelope constructDomainExtent(IEnvelope extent, double scale)
          Constructs a new envelope by expanding the input envelope about its center.
 double constructLine(ILine inLine)
          Constructs the angle between the infinite line containing the input line segment and the positive x-axis.
 void constructSplitClothoidByAngle(IPoint pSplitQuery, IPoint pFrom, IPoint pFromTangent, boolean bCurveRight, double fromCurvature, double toCurvature, double deflectionAngle, double[] pSplitCurvature, double[] pSplitLength, double[] pSplitAngle, ILine[] ppSplitTangent)
          Same as ConstructClothoidByAngle but reports curve parameters for point on curve closest to split query point.
 void constructSplitClothoidByLength(IPoint pSplitQuery, IPoint pFrom, IPoint pFromTangent, boolean bCurveRight, double fromCurvature, double toCurvature, double curveLength, double[] pSplitCurvature, double[] pSplitLength, double[] pSplitAngle, ILine[] ppSplitTangent)
          Same as ConstructClothoidByLength but reports curve parameters for point on curve closest to split query point.
 double constructThreePoint(IPoint from, IPoint through, IPoint to)
          Constructs the angle included in three points.
 void constructZMDomainExtent(double inMin, double inMax, double scale, double[] outMin, double[] outMax)
          (deprecated, use ConstructZMDomainExtent2) Constructs a low precision Z or M domain extent centered on the specified extent.
 void createEmptyGeometryByESRIType(int shapeType, IGeometry[] outGeometry)
          Create an empty geometry of the specified Esri shape file type.
 void createEmptyGeometryByType(int geometryType, IGeometry[] outGeometry)
          Creates an empty geometry of the specified ArcObjects geometry type.
 void createGeometry(int[] byteCountInOut, byte[] geometryInfo, IGeometry[] outGeometry)
          Create a point, polyline, polygon, or multipoint from the specified shapefile format buffer.
 void createGeometryEx(int importFlags, int[] byteCountInOut, byte[] geometryInfo, IGeometry[] outGeometry)
          Create a point, polyline, polygon, or multipoint from the specified shapefile format buffer.
 IGeometry createGeometryFromEnumerator(IEnumGeometry geometries)
          Creates a geometry bag containing references to geometries returned by the input geometry enumerator.
 void createGeometryFromWkb(int[] byteCountInOut, byte[] geometryInfo, IGeometry[] outGeometry)
          Create a point, polyline, polygon, or multipoint from the specified OGIS WKB format buffer.
 void createGeometryFromWkbVariant(java.lang.Object wkb, IGeometry[] outGeometry, int[] numBytesRead)
          Create a point, polyline, polygon, or multipoint from the specified OGIS WKB format buffer.
 java.lang.Object createWkbVariantFromGeometry(IGeometry inGeometry)
          Creates an OGIS WKB format from a geometry object.
 void densify(ISegment pSegment, double maxDeviation, int[] pcOutSegments, ILine[][] segments)
          Densify segment into the specified number of smaller segments.
 boolean equals(java.lang.Object o)
          Compare this object with another
 IGeometry extrude(double offsetZ, IGeometry baseGeom)
          Extrude using an input geometry as one base and offsetting the Zs already set on the input geometry to get the second base.
 IGeometry extrudeAbsolute(double toZ, IGeometry baseGeom)
          Extrude a geometry using its initial Zs for one base, and a uniform input Z for the other.
 IGeometry extrudeAlongLine(ILine extrusionLine, IGeometry baseGeom)
          Extrude a geometry along a specified line, using the Zs on the two ends of the line to set Zs on the top and bottom.
 IGeometry extrudeBetween(IFunctionalSurface fromSurface, IFunctionalSurface toSurface, IGeometry baseGeom)
          Extrude a geometry between two functional surfaces.
 IGeometry extrudeFromTo(double fromZ, double toZ, IGeometry baseGeom)
          Extrude a geometry between two specified Z values.
 IGeometry extrudeRelative(IVector3D extrusionVector, IGeometry baseGeom)
          Extrude a geometry along a specified vector, using Zs already set on the input geometry.
 double getAngularAutoDensifyTolerance()
          The default angular increment to be used with angular densification.
 double getAutoDensifyTolerance()
          The maximum distance by which on-the-fly deviation-based densification may differ from the original.
static java.lang.String getClsid()
          getClsid.
 double getDeviationAutoDensifyTolerance()
          The default deviation distance to be used for curve segment densification.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int getNoDiceLimit()
          Polygons with fewer than this number of vertices will not be drawn/printed as a collection of trapezoids.
 void getPoints(IPointCollection4 pPointCollection, int index, IPoint[][] points)
          Populates an array with references to points in the Multipoint.
 int hashCode()
          the hashcode for this object
 void insertGeometries(IGeometryCollection pGeometryCollection, int index, IGeometry[] newGeometries)
          Inserts at the specified index references to some number of geometries in the input array.
 void insertPoints(IPointCollection4 pPointCollection, int index, IPoint[] newPoints)
          Inserts copies of the input points as vertices into a Path, Ring, Polyline, or Polygon; or references to the input points into a Multipoint, Triangles, TriangleFan, or TriangleStrip.
 void insertSegments(ISegmentCollection pSegmentCollection, int index, ISegment[] newSegments)
          Inserts references to the input segments.
 void insertWKSPoints(IPointCollection4 pPointCollection, int index, _WKSPoint[] pointStructures)
          Inserts new vertices/points into this Path, Ring, Polyline, Polygon, Multipoint, Triangles, TriangleFan, TriangleStrip, or MultiPatch.
 void insertWKSPointZs(IPointCollection4 pPointCollection, int index, _WKSPointZ[] newPoints)
          Inserts new vertices/points into this Path, Ring, Polyline, Polygon, Multipoint, Triangles, TriangleFan, TriangleStrip, or MultiPatch.
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 boolean isDiceWithTrapezoids()
          Selects dicing algorithm.
 boolean isDicingEnabled()
          Indicates whether large polygons are diced before being sent to GDI.
 boolean isExpandSubPixelParts()
          Selects export to WIN32 shape mode.
 boolean isPre81Compatibility()
          Indicates if some geometric operations are compatible with releases previous to 8.1.
 boolean isUseAlternativeTopoOps()
          Indicates whether alternative versions of polygon intersection and union should be used.
 IGeometry mergeGeometries(IGeometry pOriginal, IGeometry pEdit1, IGeometry pEdit2)
          Merges the representation from both versions of a geometry that has been modifed
 void packNormal(IVector3D normalVector, double[] packedNormal)
          Encodes a normal into part of a double.
 void packTexture2D(double textureS, double textureT, double[] packedTexture)
          Encodes texture coordinates into part of a double.
 void queryBeginningRings(IMultiPatch pMultiPatch, int ringTypesDesired, IRing[][] beginningRings)
          Populates an array with references to all beginning rings of the specified types.
 void queryFollowingRings(IMultiPatch pMultiPatch, IRing beginningRing, IRing[][] followingRings)
          Populates an array with references to following rings that are in the ring group that starts with the specified beginning ring.
 void queryGeometries(IGeometryCollection pGeometryCollection, int index, IGeometry[][] geometries)
          Populates the array with references to a sub-sequence of geometries.
 void queryPoints(IPointCollection4 pPointCollection, int index, IPoint[][] points)
          Copies some points to an existing array of points.
 void querySegments(ISegmentCollection pSegmentCollection, int index, ISegment[][] segments)
          Returns references to some of the input segments.
 void queryWKSPoints(IPointCollection4 pPointCollection, int index, _WKSPoint[][] pointStructures)
          Copies vertices'/points' coordinates to the array of point structures.
 void queryWKSPointZs(IPointCollection4 pPointCollection, int index, _WKSPointZ[][] pointStructures)
          Copies vertices/points coordinates to the array of point structures.
 void release()
          Release a GeometryEnvironment.
 void replacePoints(IPointCollection4 pPointCollection, int index, int goingAway, IPoint[] newPoints)
          Replaces vertices/points within a PointCollection.
 void replaceSegments(ISegmentCollection pSegmentCollection, int index, int goingAway, ISegment[] newSegments)
          Removes and inserts from segments.
 void setAngularAutoDensifyTolerance(double tolerance)
          The default angular increment to be used with angular densification.
 void setAutoDensifyTolerance(double tolerance)
          The maximum distance by which on-the-fly deviation-based densification may differ from the original.
 void setDeviationAutoDensifyTolerance(double tolerance)
          The default deviation distance to be used for curve segment densification.
 void setDiceWithTrapezoids(boolean diceWithTrapezoids)
          Selects dicing algorithm.
 void setDicingEnabled(boolean dicingEnabled)
          Indicates whether large polygons are diced before being sent to GDI.
 void setExpandSubPixelParts(boolean expandSubPixelParts)
          Selects export to WIN32 shape mode.
 void setGeometries(IGeometryCollection pGeometryCollection, IGeometry[] newGeometries)
          Replaces all geometries in the collection with the specified number of references to those in the input array.
 void setNoDiceLimit(int cMaxPoints)
          Polygons with fewer than this number of vertices will not be drawn/printed as a collection of trapezoids.
 void setPoints(IPointCollection4 pPointCollection, IPoint[] newPoints)
          Replaces all existing vertices of this Path, Ring, Polyline, or Polygon with copies of the input points; or all existing points of this Multipoint, Triangles, TriangleFan, or TriangleStrip with references to the input points.
 void setPre81Compatibility(boolean pre81Compatible)
          Indicates if some geometric operations are compatible with releases previous to 8.1.
 void setSegments(ISegmentCollection pSegmentCollection, ISegment[] newSegments)
          Replaces all segments with references to the input segments.
 void setUseAlternativeTopoOps(boolean alternativeTopoOps)
          Indicates whether alternative versions of polygon intersection and union should be used.
 void setWKSPoints(IPointCollection4 pPointCollection, _WKSPoint[] pointStructures)
          Replaces all vertices of this Path, Ring, Polyline, or Polygon with new ones, or replaces all points of this Multipoint, Triangles, TriangleFan, or TriangleStrip with new ones.
 void setWKSPointZs(IPointCollection4 pPointCollection, _WKSPointZ[] pointStructures)
          Replaces all vertices/points of this Path, Ring, Polyline, Polygon, Multipoint, Triangles, TriangleFan, TriangleStrip, or MultiPatch with new ones.
 IEnumSplitPoint splitAtDistances(IPolycurve2 polyCurve, double[] distances, boolean asRatios, boolean createParts)
          Introduces new vertices into this polyline at specified distances from the beginning of the polyline.
 void splitDivideLength(ISegment pSegment, double offset, double length, boolean asRatio, int[] numSplitSegments, ISegment[][] splitSegments)
          Divide segment into smaller segments of the specified length.
 void unPackNormal(double packedNormal, IVector3D normalVector, boolean[] wasProductive)
          Decodes a normal from a double.
 void unPackTexture2D(double packedTextureST, double[] textureS, double[] textureT, boolean[] wasProductive)
          Decodes texture coordinates.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeometryEnvironment

public GeometryEnvironment()
                    throws java.io.IOException,
                           java.net.UnknownHostException
Constructs a GeometryEnvironment using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

GeometryEnvironment

public GeometryEnvironment(java.lang.Object obj)
                    throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GeometryEnvironment theGeometryEnvironment = (GeometryEnvironment) obj;

Construct a GeometryEnvironment using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to GeometryEnvironment.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a GeometryEnvironment.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

constructThreePoint

public double constructThreePoint(IPoint from,
                                  IPoint through,
                                  IPoint to)
                           throws java.io.IOException,
                                  AutomationException
Constructs the angle included in three points.

Specified by:
constructThreePoint in interface IConstructAngle
Parameters:
from - A reference to a com.esri.arcgis.geometry.IPoint (in)
through - A reference to a com.esri.arcgis.geometry.IPoint (in)
to - A reference to a com.esri.arcgis.geometry.IPoint (in)
Returns:
The outAngle
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

constructLine

public double constructLine(ILine inLine)
                     throws java.io.IOException,
                            AutomationException
Constructs the angle between the infinite line containing the input line segment and the positive x-axis.

Specified by:
constructLine in interface IConstructAngle
Parameters:
inLine - A reference to a com.esri.arcgis.geometry.ILine (in)
Returns:
The outAngle
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createGeometry

public void createGeometry(int[] byteCountInOut,
                           byte[] geometryInfo,
                           IGeometry[] outGeometry)
                    throws java.io.IOException,
                           AutomationException
Create a point, polyline, polygon, or multipoint from the specified shapefile format buffer.

Specified by:
createGeometry in interface IGeometryFactory
Parameters:
byteCountInOut - The byteCountInOut (in/out: use single element array)
geometryInfo - An unsigned byte (in)
outGeometry - A reference to a com.esri.arcgis.geometry.IGeometry (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createGeometryFromWkb

public void createGeometryFromWkb(int[] byteCountInOut,
                                  byte[] geometryInfo,
                                  IGeometry[] outGeometry)
                           throws java.io.IOException,
                                  AutomationException
Create a point, polyline, polygon, or multipoint from the specified OGIS WKB format buffer.

Specified by:
createGeometryFromWkb in interface IGeometryFactory
Parameters:
byteCountInOut - The byteCountInOut (in/out: use single element array)
geometryInfo - An unsigned byte (in)
outGeometry - A reference to a com.esri.arcgis.geometry.IGeometry (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createEmptyGeometryByESRIType

public void createEmptyGeometryByESRIType(int shapeType,
                                          IGeometry[] outGeometry)
                                   throws java.io.IOException,
                                          AutomationException
Create an empty geometry of the specified Esri shape file type.

Specified by:
createEmptyGeometryByESRIType in interface IGeometryFactory
Parameters:
shapeType - A com.esri.arcgis.geometry.esriShapeType constant (in)
outGeometry - A reference to a com.esri.arcgis.geometry.IGeometry (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createEmptyGeometryByType

public void createEmptyGeometryByType(int geometryType,
                                      IGeometry[] outGeometry)
                               throws java.io.IOException,
                                      AutomationException
Creates an empty geometry of the specified ArcObjects geometry type.

Specified by:
createEmptyGeometryByType in interface IGeometryFactory
Parameters:
geometryType - A com.esri.arcgis.geometry.esriGeometryType constant (in)
outGeometry - A reference to a com.esri.arcgis.geometry.IGeometry (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createGeometryFromWkbVariant

public void createGeometryFromWkbVariant(java.lang.Object wkb,
                                         IGeometry[] outGeometry,
                                         int[] numBytesRead)
                                  throws java.io.IOException,
                                         AutomationException
Create a point, polyline, polygon, or multipoint from the specified OGIS WKB format buffer.

Specified by:
createGeometryFromWkbVariant in interface IGeometryFactory
Parameters:
wkb - A Variant (in)
outGeometry - A reference to a com.esri.arcgis.geometry.IGeometry (out: use single element array)
numBytesRead - The numBytesRead (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createGeometryFromEnumerator

public IGeometry createGeometryFromEnumerator(IEnumGeometry geometries)
                                       throws java.io.IOException,
                                              AutomationException
Creates a geometry bag containing references to geometries returned by the input geometry enumerator.

Specified by:
createGeometryFromEnumerator in interface IGeometryFactory
Parameters:
geometries - A reference to a com.esri.arcgis.geometry.IEnumGeometry (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.

createWkbVariantFromGeometry

public java.lang.Object createWkbVariantFromGeometry(IGeometry inGeometry)
                                              throws java.io.IOException,
                                                     AutomationException
Creates an OGIS WKB format from a geometry object.

Specified by:
createWkbVariantFromGeometry in interface IGeometryFactory2
Parameters:
inGeometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createGeometryEx

public void createGeometryEx(int importFlags,
                             int[] byteCountInOut,
                             byte[] geometryInfo,
                             IGeometry[] outGeometry)
                      throws java.io.IOException,
                             AutomationException
Create a point, polyline, polygon, or multipoint from the specified shapefile format buffer.

Specified by:
createGeometryEx in interface IGeometryFactory3
Parameters:
importFlags - The importFlags (in)
byteCountInOut - The byteCountInOut (in/out: use single element array)
geometryInfo - An unsigned byte (in)
outGeometry - A reference to a com.esri.arcgis.geometry.IGeometry (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setNoDiceLimit

public void setNoDiceLimit(int cMaxPoints)
                    throws java.io.IOException,
                           AutomationException
Polygons with fewer than this number of vertices will not be drawn/printed as a collection of trapezoids.

Specified by:
setNoDiceLimit in interface IGeometryEnvironment
Parameters:
cMaxPoints - The cMaxPoints (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNoDiceLimit

public int getNoDiceLimit()
                   throws java.io.IOException,
                          AutomationException
Polygons with fewer than this number of vertices will not be drawn/printed as a collection of trapezoids.

Specified by:
getNoDiceLimit in interface IGeometryEnvironment
Returns:
The cMaxPoints
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAutoDensifyTolerance

public void setAutoDensifyTolerance(double tolerance)
                             throws java.io.IOException,
                                    AutomationException
The maximum distance by which on-the-fly deviation-based densification may differ from the original. If the value is less than or equal to zero, the system will try to pick a reasonable tolerance at the time of densification.

Specified by:
setAutoDensifyTolerance in interface IGeometryEnvironment
Parameters:
tolerance - The tolerance (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAutoDensifyTolerance

public double getAutoDensifyTolerance()
                               throws java.io.IOException,
                                      AutomationException
The maximum distance by which on-the-fly deviation-based densification may differ from the original. If the value is less than or equal to zero, the system will try to pick a reasonable tolerance at the time of densification.

Specified by:
getAutoDensifyTolerance in interface IGeometryEnvironment
Returns:
The tolerance
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPre81Compatibility

public void setPre81Compatibility(boolean pre81Compatible)
                           throws java.io.IOException,
                                  AutomationException
Indicates if some geometric operations are compatible with releases previous to 8.1. When set to false, return errors for some illegal relational operations (default is true).

Specified by:
setPre81Compatibility in interface IGeometryEnvironment2
Parameters:
pre81Compatible - The pre81Compatible (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isPre81Compatibility

public boolean isPre81Compatibility()
                             throws java.io.IOException,
                                    AutomationException
Indicates if some geometric operations are compatible with releases previous to 8.1. When set to false, return errors for some illegal relational operations (default is true).

Specified by:
isPre81Compatibility in interface IGeometryEnvironment2
Returns:
The pre81Compatible
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAngularAutoDensifyTolerance

public void setAngularAutoDensifyTolerance(double tolerance)
                                    throws java.io.IOException,
                                           AutomationException
The default angular increment to be used with angular densification.

Specified by:
setAngularAutoDensifyTolerance in interface IGeometryEnvironment2
Parameters:
tolerance - The tolerance (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAngularAutoDensifyTolerance

public double getAngularAutoDensifyTolerance()
                                      throws java.io.IOException,
                                             AutomationException
The default angular increment to be used with angular densification.

Specified by:
getAngularAutoDensifyTolerance in interface IGeometryEnvironment2
Returns:
The tolerance
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDeviationAutoDensifyTolerance

public void setDeviationAutoDensifyTolerance(double tolerance)
                                      throws java.io.IOException,
                                             AutomationException
The default deviation distance to be used for curve segment densification.

Specified by:
setDeviationAutoDensifyTolerance in interface IGeometryEnvironment2
Parameters:
tolerance - The tolerance (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDeviationAutoDensifyTolerance

public double getDeviationAutoDensifyTolerance()
                                        throws java.io.IOException,
                                               AutomationException
The default deviation distance to be used for curve segment densification.

Specified by:
getDeviationAutoDensifyTolerance in interface IGeometryEnvironment2
Returns:
The tolerance
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setUseAlternativeTopoOps

public void setUseAlternativeTopoOps(boolean alternativeTopoOps)
                              throws java.io.IOException,
                                     AutomationException
Indicates whether alternative versions of polygon intersection and union should be used.

Specified by:
setUseAlternativeTopoOps in interface IGeometryEnvironment2
Parameters:
alternativeTopoOps - The alternativeTopoOps (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isUseAlternativeTopoOps

public boolean isUseAlternativeTopoOps()
                                throws java.io.IOException,
                                       AutomationException
Indicates whether alternative versions of polygon intersection and union should be used.

Specified by:
isUseAlternativeTopoOps in interface IGeometryEnvironment2
Returns:
The alternativeTopoOps
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isDicingEnabled

public boolean isDicingEnabled()
                        throws java.io.IOException,
                               AutomationException
Indicates whether large polygons are diced before being sent to GDI. True by default.

Specified by:
isDicingEnabled in interface IGeometryEnvironment3
Returns:
The dicingEnabled
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDicingEnabled

public void setDicingEnabled(boolean dicingEnabled)
                      throws java.io.IOException,
                             AutomationException
Indicates whether large polygons are diced before being sent to GDI. True by default.

Specified by:
setDicingEnabled in interface IGeometryEnvironment3
Parameters:
dicingEnabled - The dicingEnabled (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isDiceWithTrapezoids

public boolean isDiceWithTrapezoids()
                             throws java.io.IOException,
                                    AutomationException
Selects dicing algorithm. True means dicing with trapezoids, False means dicing with smaller polygons and polypolygons. True by default.

Specified by:
isDiceWithTrapezoids in interface IGeometryEnvironment4
Returns:
The diceWithTrapezoids
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDiceWithTrapezoids

public void setDiceWithTrapezoids(boolean diceWithTrapezoids)
                           throws java.io.IOException,
                                  AutomationException
Selects dicing algorithm. True means dicing with trapezoids, False means dicing with smaller polygons and polypolygons. True by default.

Specified by:
setDiceWithTrapezoids in interface IGeometryEnvironment4
Parameters:
diceWithTrapezoids - The diceWithTrapezoids (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isExpandSubPixelParts

public boolean isExpandSubPixelParts()
                              throws java.io.IOException,
                                     AutomationException
Selects export to WIN32 shape mode. True means export without loss of sub-pixel parts, False means eliminating parts that degenerate into single pixel. False by default.

Specified by:
isExpandSubPixelParts in interface IGeometryEnvironment4
Returns:
The expandSubPixelParts
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setExpandSubPixelParts

public void setExpandSubPixelParts(boolean expandSubPixelParts)
                            throws java.io.IOException,
                                   AutomationException
Selects export to WIN32 shape mode. True means export without loss of sub-pixel parts, False means eliminating parts that degenerate into single pixel. False by default.

Specified by:
setExpandSubPixelParts in interface IGeometryEnvironment4
Parameters:
expandSubPixelParts - The expandSubPixelParts (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

extrudeFromTo

public IGeometry extrudeFromTo(double fromZ,
                               double toZ,
                               IGeometry baseGeom)
                        throws java.io.IOException,
                               AutomationException
Extrude a geometry between two specified Z values.

Specified by:
extrudeFromTo in interface IExtrude
Parameters:
fromZ - The fromZ (in)
toZ - The toZ (in)
baseGeom - A reference to a com.esri.arcgis.geometry.IGeometry (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.

extrudeAbsolute

public IGeometry extrudeAbsolute(double toZ,
                                 IGeometry baseGeom)
                          throws java.io.IOException,
                                 AutomationException
Extrude a geometry using its initial Zs for one base, and a uniform input Z for the other.

Specified by:
extrudeAbsolute in interface IExtrude
Parameters:
toZ - The toZ (in)
baseGeom - A reference to a com.esri.arcgis.geometry.IGeometry (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.

extrudeBetween

public IGeometry extrudeBetween(IFunctionalSurface fromSurface,
                                IFunctionalSurface toSurface,
                                IGeometry baseGeom)
                         throws java.io.IOException,
                                AutomationException
Extrude a geometry between two functional surfaces.

Specified by:
extrudeBetween in interface IExtrude
Parameters:
fromSurface - A reference to a com.esri.arcgis.geometry.IFunctionalSurface (in)
toSurface - A reference to a com.esri.arcgis.geometry.IFunctionalSurface (in)
baseGeom - A reference to a com.esri.arcgis.geometry.IGeometry (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.

extrudeAlongLine

public IGeometry extrudeAlongLine(ILine extrusionLine,
                                  IGeometry baseGeom)
                           throws java.io.IOException,
                                  AutomationException
Extrude a geometry along a specified line, using the Zs on the two ends of the line to set Zs on the top and bottom.

Specified by:
extrudeAlongLine in interface IExtrude
Parameters:
extrusionLine - A reference to a com.esri.arcgis.geometry.ILine (in)
baseGeom - A reference to a com.esri.arcgis.geometry.IGeometry (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.

extrudeRelative

public IGeometry extrudeRelative(IVector3D extrusionVector,
                                 IGeometry baseGeom)
                          throws java.io.IOException,
                                 AutomationException
Extrude a geometry along a specified vector, using Zs already set on the input geometry.

Specified by:
extrudeRelative in interface IExtrude
Parameters:
extrusionVector - A reference to a com.esri.arcgis.geometry.IVector3D (in)
baseGeom - A reference to a com.esri.arcgis.geometry.IGeometry (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.

extrude

public IGeometry extrude(double offsetZ,
                         IGeometry baseGeom)
                  throws java.io.IOException,
                         AutomationException
Extrude using an input geometry as one base and offsetting the Zs already set on the input geometry to get the second base.

Specified by:
extrude in interface IExtrude
Parameters:
offsetZ - The offsetZ (in)
baseGeom - A reference to a com.esri.arcgis.geometry.IGeometry (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.

packNormal

public void packNormal(IVector3D normalVector,
                       double[] packedNormal)
                throws java.io.IOException,
                       AutomationException
Encodes a normal into part of a double. A normal and texture information can both be packed in a single double without conflict.

Specified by:
packNormal in interface IEncode3DProperties
Parameters:
normalVector - A reference to a com.esri.arcgis.geometry.IVector3D (in)
packedNormal - The packedNormal (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

unPackNormal

public void unPackNormal(double packedNormal,
                         IVector3D normalVector,
                         boolean[] wasProductive)
                  throws java.io.IOException,
                         AutomationException
Decodes a normal from a double.

Specified by:
unPackNormal in interface IEncode3DProperties
Parameters:
packedNormal - The packedNormal (in)
normalVector - A reference to a com.esri.arcgis.geometry.IVector3D (in)
wasProductive - The wasProductive (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

packTexture2D

public void packTexture2D(double textureS,
                          double textureT,
                          double[] packedTexture)
                   throws java.io.IOException,
                          AutomationException
Encodes texture coordinates into part of a double. A normal and texture information can both be packed in a single double without conflict.

Specified by:
packTexture2D in interface IEncode3DProperties
Parameters:
textureS - The textureS (in)
textureT - The textureT (in)
packedTexture - The packedTexture (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

unPackTexture2D

public void unPackTexture2D(double packedTextureST,
                            double[] textureS,
                            double[] textureT,
                            boolean[] wasProductive)
                     throws java.io.IOException,
                            AutomationException
Decodes texture coordinates.

Specified by:
unPackTexture2D in interface IEncode3DProperties
Parameters:
packedTextureST - The packedTextureST (in)
textureS - The textureS (out: use single element array)
textureT - The textureT (out: use single element array)
wasProductive - The wasProductive (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

constructDomainExtent

public IEnvelope constructDomainExtent(IEnvelope extent,
                                       double scale)
                                throws java.io.IOException,
                                       AutomationException
Constructs a new envelope by expanding the input envelope about its center. Scale is typically a power of 10 indicating the number of sig figs to preserve. If its zero, the extent is expanded 1.5 times (subject to some constraints).

Specified by:
constructDomainExtent in interface IConstructDomainExtent
Parameters:
extent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
scale - The scale (in)
Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

constructZMDomainExtent

public void constructZMDomainExtent(double inMin,
                                    double inMax,
                                    double scale,
                                    double[] outMin,
                                    double[] outMax)
                             throws java.io.IOException,
                                    AutomationException
(deprecated, use ConstructZMDomainExtent2) Constructs a low precision Z or M domain extent centered on the specified extent. scale is 1/(desired resolution). If scale is 0.0, a default of 1,000,000.0 is used.

Specified by:
constructZMDomainExtent in interface IConstructDomainExtent
Parameters:
inMin - The inMin (in)
inMax - The inMax (in)
scale - The scale (in)
outMin - The outMin (out: use single element array)
outMax - The outMax (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryGeometries

public void queryGeometries(IGeometryCollection pGeometryCollection,
                            int index,
                            IGeometry[][] geometries)
                     throws java.io.IOException,
                            AutomationException
Populates the array with references to a sub-sequence of geometries.

Specified by:
queryGeometries in interface IGeometryBridge
Parameters:
pGeometryCollection - A reference to a com.esri.arcgis.geometry.IGeometryCollection (in)
index - The index (in)
geometries - A reference to a com.esri.arcgis.geometry.IGeometry array (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addGeometries

public void addGeometries(IGeometryCollection pGeometryCollection,
                          IGeometry[] newGeometries)
                   throws java.io.IOException,
                          AutomationException
Adds references to the specified geometries.

Specified by:
addGeometries in interface IGeometryBridge
Parameters:
pGeometryCollection - A reference to a com.esri.arcgis.geometry.IGeometryCollection (in)
newGeometries - A reference to a com.esri.arcgis.geometry.IGeometry array (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

insertGeometries

public void insertGeometries(IGeometryCollection pGeometryCollection,
                             int index,
                             IGeometry[] newGeometries)
                      throws java.io.IOException,
                             AutomationException
Inserts at the specified index references to some number of geometries in the input array.

Specified by:
insertGeometries in interface IGeometryBridge
Parameters:
pGeometryCollection - A reference to a com.esri.arcgis.geometry.IGeometryCollection (in)
index - The index (in)
newGeometries - A reference to a com.esri.arcgis.geometry.IGeometry array (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setGeometries

public void setGeometries(IGeometryCollection pGeometryCollection,
                          IGeometry[] newGeometries)
                   throws java.io.IOException,
                          AutomationException
Replaces all geometries in the collection with the specified number of references to those in the input array.

Specified by:
setGeometries in interface IGeometryBridge
Parameters:
pGeometryCollection - A reference to a com.esri.arcgis.geometry.IGeometryCollection (in)
newGeometries - A reference to a com.esri.arcgis.geometry.IGeometry array (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryPoints

public void queryPoints(IPointCollection4 pPointCollection,
                        int index,
                        IPoint[][] points)
                 throws java.io.IOException,
                        AutomationException
Copies some points to an existing array of points.

Specified by:
queryPoints in interface IGeometryBridge
Parameters:
pPointCollection - A reference to a com.esri.arcgis.geometry.IPointCollection4 (in)
index - The index (in)
points - A reference to a com.esri.arcgis.geometry.IPoint array (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

insertPoints

public void insertPoints(IPointCollection4 pPointCollection,
                         int index,
                         IPoint[] newPoints)
                  throws java.io.IOException,
                         AutomationException
Inserts copies of the input points as vertices into a Path, Ring, Polyline, or Polygon; or references to the input points into a Multipoint, Triangles, TriangleFan, or TriangleStrip.

Specified by:
insertPoints in interface IGeometryBridge
Parameters:
pPointCollection - A reference to a com.esri.arcgis.geometry.IPointCollection4 (in)
index - The index (in)
newPoints - A reference to a com.esri.arcgis.geometry.IPoint array (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addPoints

public void addPoints(IPointCollection4 pPointCollection,
                      IPoint[] newPoints)
               throws java.io.IOException,
                      AutomationException
Adds copies of the input points as vertices to this Path, Ring, Polyline, or Polygon; or references to the input points to this Multipoint, Triangles, TriangleFan, or TriangleStrip.

Specified by:
addPoints in interface IGeometryBridge
Parameters:
pPointCollection - A reference to a com.esri.arcgis.geometry.IPointCollection4 (in)
newPoints - A reference to a com.esri.arcgis.geometry.IPoint array (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPoints

public void setPoints(IPointCollection4 pPointCollection,
                      IPoint[] newPoints)
               throws java.io.IOException,
                      AutomationException
Replaces all existing vertices of this Path, Ring, Polyline, or Polygon with copies of the input points; or all existing points of this Multipoint, Triangles, TriangleFan, or TriangleStrip with references to the input points.

Specified by:
setPoints in interface IGeometryBridge
Parameters:
pPointCollection - A reference to a com.esri.arcgis.geometry.IPointCollection4 (in)
newPoints - A reference to a com.esri.arcgis.geometry.IPoint array (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPoints

public void getPoints(IPointCollection4 pPointCollection,
                      int index,
                      IPoint[][] points)
               throws java.io.IOException,
                      AutomationException
Populates an array with references to points in the Multipoint. The QueryPoints method on IPointCollection makes copies of the points.

Specified by:
getPoints in interface IGeometryBridge
Parameters:
pPointCollection - A reference to a com.esri.arcgis.geometry.IPointCollection4 (in)
index - The index (in)
points - A reference to a com.esri.arcgis.geometry.IPoint array (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

replacePoints

public void replacePoints(IPointCollection4 pPointCollection,
                          int index,
                          int goingAway,
                          IPoint[] newPoints)
                   throws java.io.IOException,
                          AutomationException
Replaces vertices/points within a PointCollection.

Specified by:
replacePoints in interface IGeometryBridge
Parameters:
pPointCollection - A reference to a com.esri.arcgis.geometry.IPointCollection4 (in)
index - The index (in)
goingAway - The goingAway (in)
newPoints - A reference to a com.esri.arcgis.geometry.IPoint array (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addWKSPointZs

public void addWKSPointZs(IPointCollection4 pPointCollection,
                          _WKSPointZ[] pointStructures)
                   throws java.io.IOException,
                          AutomationException
Adds vertices/points to this Path, Ring, Polyline, Polygon, Multipoint, Triangles, TriangleFan, TriangleStrip, or MultiPatch.

Specified by:
addWKSPointZs in interface IGeometryBridge
Parameters:
pPointCollection - A reference to a com.esri.arcgis.geometry.IPointCollection4 (in)
pointStructures - A Structure: com.esri.arcgis.system._WKSPointZ (An array of com.esri.arcgis.system._WKSPointZ COM typedef) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setWKSPointZs

public void setWKSPointZs(IPointCollection4 pPointCollection,
                          _WKSPointZ[] pointStructures)
                   throws java.io.IOException,
                          AutomationException
Replaces all vertices/points of this Path, Ring, Polyline, Polygon, Multipoint, Triangles, TriangleFan, TriangleStrip, or MultiPatch with new ones.

Specified by:
setWKSPointZs in interface IGeometryBridge
Parameters:
pPointCollection - A reference to a com.esri.arcgis.geometry.IPointCollection4 (in)
pointStructures - A Structure: com.esri.arcgis.system._WKSPointZ (An array of com.esri.arcgis.system._WKSPointZ COM typedef) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryWKSPointZs

public void queryWKSPointZs(IPointCollection4 pPointCollection,
                            int index,
                            _WKSPointZ[][] pointStructures)
                     throws java.io.IOException,
                            AutomationException
Copies vertices/points coordinates to the array of point structures.

Specified by:
queryWKSPointZs in interface IGeometryBridge
Parameters:
pPointCollection - A reference to a com.esri.arcgis.geometry.IPointCollection4 (in)
index - The index (in)
pointStructures - A Structure: com.esri.arcgis.system._WKSPointZ (An array of com.esri.arcgis.system._WKSPointZ COM typedef) (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

insertWKSPointZs

public void insertWKSPointZs(IPointCollection4 pPointCollection,
                             int index,
                             _WKSPointZ[] newPoints)
                      throws java.io.IOException,
                             AutomationException
Inserts new vertices/points into this Path, Ring, Polyline, Polygon, Multipoint, Triangles, TriangleFan, TriangleStrip, or MultiPatch.

Specified by:
insertWKSPointZs in interface IGeometryBridge
Parameters:
pPointCollection - A reference to a com.esri.arcgis.geometry.IPointCollection4 (in)
index - The index (in)
newPoints - A Structure: com.esri.arcgis.system._WKSPointZ (An array of com.esri.arcgis.system._WKSPointZ COM typedef) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

querySegments

public void querySegments(ISegmentCollection pSegmentCollection,
                          int index,
                          ISegment[][] segments)
                   throws java.io.IOException,
                          AutomationException
Returns references to some of the input segments.

Specified by:
querySegments in interface IGeometryBridge
Parameters:
pSegmentCollection - A reference to a com.esri.arcgis.geometry.ISegmentCollection (in)
index - The index (in)
segments - A reference to a com.esri.arcgis.geometry.ISegment array (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addSegments

public void addSegments(ISegmentCollection pSegmentCollection,
                        ISegment[] newSegments)
                 throws java.io.IOException,
                        AutomationException
Adds references to segments.

Specified by:
addSegments in interface IGeometryBridge
Parameters:
pSegmentCollection - A reference to a com.esri.arcgis.geometry.ISegmentCollection (in)
newSegments - A reference to a com.esri.arcgis.geometry.ISegment array (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

insertSegments

public void insertSegments(ISegmentCollection pSegmentCollection,
                           int index,
                           ISegment[] newSegments)
                    throws java.io.IOException,
                           AutomationException
Inserts references to the input segments.

Specified by:
insertSegments in interface IGeometryBridge
Parameters:
pSegmentCollection - A reference to a com.esri.arcgis.geometry.ISegmentCollection (in)
index - The index (in)
newSegments - A reference to a com.esri.arcgis.geometry.ISegment array (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

replaceSegments

public void replaceSegments(ISegmentCollection pSegmentCollection,
                            int index,
                            int goingAway,
                            ISegment[] newSegments)
                     throws java.io.IOException,
                            AutomationException
Removes and inserts from segments.

Specified by:
replaceSegments in interface IGeometryBridge
Parameters:
pSegmentCollection - A reference to a com.esri.arcgis.geometry.ISegmentCollection (in)
index - The index (in)
goingAway - The goingAway (in)
newSegments - A reference to a com.esri.arcgis.geometry.ISegment array (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSegments

public void setSegments(ISegmentCollection pSegmentCollection,
                        ISegment[] newSegments)
                 throws java.io.IOException,
                        AutomationException
Replaces all segments with references to the input segments.

Specified by:
setSegments in interface IGeometryBridge
Parameters:
pSegmentCollection - A reference to a com.esri.arcgis.geometry.ISegmentCollection (in)
newSegments - A reference to a com.esri.arcgis.geometry.ISegment array (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

densify

public void densify(ISegment pSegment,
                    double maxDeviation,
                    int[] pcOutSegments,
                    ILine[][] segments)
             throws java.io.IOException,
                    AutomationException
Densify segment into the specified number of smaller segments.

Specified by:
densify in interface IGeometryBridge
Parameters:
pSegment - A reference to a com.esri.arcgis.geometry.ISegment (in)
maxDeviation - The maxDeviation (in)
pcOutSegments - The pcOutSegments (in/out: use single element array)
segments - A reference to a com.esri.arcgis.geometry.ILine array (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

constructBuffers

public IEnumGeometry constructBuffers(ITopologicalOperator2 pTopologicalOperator,
                                      double[] distances)
                               throws java.io.IOException,
                                      AutomationException
Constructs a set of buffers at various distances. More efficient than calling Buffer repeatedly on the same geometry.

Specified by:
constructBuffers in interface IGeometryBridge
Parameters:
pTopologicalOperator - A reference to a com.esri.arcgis.geometry.ITopologicalOperator2 (in)
distances - The distances (in)
Returns:
A reference to a com.esri.arcgis.geometry.IEnumGeometry
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryBeginningRings

public void queryBeginningRings(IMultiPatch pMultiPatch,
                                int ringTypesDesired,
                                IRing[][] beginningRings)
                         throws java.io.IOException,
                                AutomationException
Populates an array with references to all beginning rings of the specified types.

Specified by:
queryBeginningRings in interface IGeometryBridge
Parameters:
pMultiPatch - A reference to a com.esri.arcgis.geometry.IMultiPatch (in)
ringTypesDesired - The ringTypesDesired (in)
beginningRings - A reference to a com.esri.arcgis.geometry.IRing array (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryFollowingRings

public void queryFollowingRings(IMultiPatch pMultiPatch,
                                IRing beginningRing,
                                IRing[][] followingRings)
                         throws java.io.IOException,
                                AutomationException
Populates an array with references to following rings that are in the ring group that starts with the specified beginning ring.

Specified by:
queryFollowingRings in interface IGeometryBridge
Parameters:
pMultiPatch - A reference to a com.esri.arcgis.geometry.IMultiPatch (in)
beginningRing - A reference to a com.esri.arcgis.geometry.IRing (in)
followingRings - A reference to a com.esri.arcgis.geometry.IRing array (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addWKSPoints

public void addWKSPoints(IPointCollection4 pPointCollection,
                         _WKSPoint[] pointStructures)
                  throws java.io.IOException,
                         AutomationException
Adds vertices to this Path, Ring, Polyline, or Polygon, or adds new points to this Multipoint, Triangles, TriangleFan, or TriangleStrip.

Specified by:
addWKSPoints in interface IGeometryBridge2
Parameters:
pPointCollection - A reference to a com.esri.arcgis.geometry.IPointCollection4 (in)
pointStructures - A Structure: com.esri.arcgis.system._WKSPoint (An array of com.esri.arcgis.system._WKSPoint COM typedef) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setWKSPoints

public void setWKSPoints(IPointCollection4 pPointCollection,
                         _WKSPoint[] pointStructures)
                  throws java.io.IOException,
                         AutomationException
Replaces all vertices of this Path, Ring, Polyline, or Polygon with new ones, or replaces all points of this Multipoint, Triangles, TriangleFan, or TriangleStrip with new ones.

Specified by:
setWKSPoints in interface IGeometryBridge2
Parameters:
pPointCollection - A reference to a com.esri.arcgis.geometry.IPointCollection4 (in)
pointStructures - A Structure: com.esri.arcgis.system._WKSPoint (An array of com.esri.arcgis.system._WKSPoint COM typedef) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryWKSPoints

public void queryWKSPoints(IPointCollection4 pPointCollection,
                           int index,
                           _WKSPoint[][] pointStructures)
                    throws java.io.IOException,
                           AutomationException
Copies vertices'/points' coordinates to the array of point structures.

Specified by:
queryWKSPoints in interface IGeometryBridge2
Parameters:
pPointCollection - A reference to a com.esri.arcgis.geometry.IPointCollection4 (in)
index - The index (in)
pointStructures - A Structure: com.esri.arcgis.system._WKSPoint (An array of com.esri.arcgis.system._WKSPoint COM typedef) (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

insertWKSPoints

public void insertWKSPoints(IPointCollection4 pPointCollection,
                            int index,
                            _WKSPoint[] pointStructures)
                     throws java.io.IOException,
                            AutomationException
Inserts new vertices/points into this Path, Ring, Polyline, Polygon, Multipoint, Triangles, TriangleFan, TriangleStrip, or MultiPatch.

Specified by:
insertWKSPoints in interface IGeometryBridge2
Parameters:
pPointCollection - A reference to a com.esri.arcgis.geometry.IPointCollection4 (in)
index - The index (in)
pointStructures - A Structure: com.esri.arcgis.system._WKSPoint (An array of com.esri.arcgis.system._WKSPoint COM typedef) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

splitAtDistances

public IEnumSplitPoint splitAtDistances(IPolycurve2 polyCurve,
                                        double[] distances,
                                        boolean asRatios,
                                        boolean createParts)
                                 throws java.io.IOException,
                                        AutomationException
Introduces new vertices into this polyline at specified distances from the beginning of the polyline.

Specified by:
splitAtDistances in interface IGeometryBridge2
Parameters:
polyCurve - A reference to a com.esri.arcgis.geometry.IPolycurve2 (in)
distances - The distances (in)
asRatios - The asRatios (in)
createParts - The createParts (in)
Returns:
A reference to a com.esri.arcgis.geometry.IEnumSplitPoint
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

splitDivideLength

public void splitDivideLength(ISegment pSegment,
                              double offset,
                              double length,
                              boolean asRatio,
                              int[] numSplitSegments,
                              ISegment[][] splitSegments)
                       throws java.io.IOException,
                              AutomationException
Divide segment into smaller segments of the specified length.

Specified by:
splitDivideLength in interface IGeometryBridge2
Parameters:
pSegment - A reference to a com.esri.arcgis.geometry.ISegment (in)
offset - The offset (in)
length - The length (in)
asRatio - The asRatio (in)
numSplitSegments - The numSplitSegments (out: use single element array)
splitSegments - A reference to a com.esri.arcgis.geometry.ISegment array (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

mergeGeometries

public IGeometry mergeGeometries(IGeometry pOriginal,
                                 IGeometry pEdit1,
                                 IGeometry pEdit2)
                          throws java.io.IOException,
                                 AutomationException
Merges the representation from both versions of a geometry that has been modifed

Specified by:
mergeGeometries in interface IConstructMerge
Parameters:
pOriginal - A reference to a com.esri.arcgis.geometry.IGeometry (in)
pEdit1 - A reference to a com.esri.arcgis.geometry.IGeometry (in)
pEdit2 - A reference to a com.esri.arcgis.geometry.IGeometry (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.

constructClothoidByLength

public IPolyline constructClothoidByLength(IPoint pFrom,
                                           IPoint pFromTangent,
                                           boolean bCurveRight,
                                           double fromCurvature,
                                           double toCurvature,
                                           double curveLength,
                                           int __MIDL__IConstructClothoid0000,
                                           double densifyParameter)
                                    throws java.io.IOException,
                                           AutomationException
Constructs a pieccewise linear approximation to a clothoid spiral. Curvature is the reciprocal of the radius, so specify a curvature of 0 for an infinite radius. curveLength is the design length of the curve.

Specified by:
constructClothoidByLength in interface IConstructClothoid
Parameters:
pFrom - A reference to a com.esri.arcgis.geometry.IPoint (in)
pFromTangent - A reference to a com.esri.arcgis.geometry.IPoint (in)
bCurveRight - The bCurveRight (in)
fromCurvature - The fromCurvature (in)
toCurvature - The toCurvature (in)
curveLength - The curveLength (in)
__MIDL__IConstructClothoid0000 - A com.esri.arcgis.geometry.esriCurveDensifyMethod constant (in)
densifyParameter - The densifyParameter (in)
Returns:
A reference to a com.esri.arcgis.geometry.IPolyline
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

constructClothoidByAngle

public IPolyline constructClothoidByAngle(IPoint pFrom,
                                          IPoint pFromTangent,
                                          boolean bCurveRight,
                                          double fromCurvature,
                                          double toCurvature,
                                          double deflectionAngle,
                                          int __MIDL__IConstructClothoid0001,
                                          double densifyParameter)
                                   throws java.io.IOException,
                                          AutomationException
Constructs a pieccewise linear approximation to a clothoid spiral. Curvature is the reciprocal of the radius, so specify a curvature of 0 for an infinite radius. deflectionAngle is positive and is the change in direction (in radians) from the starting curve ta?T?_?

Specified by:
constructClothoidByAngle in interface IConstructClothoid
Parameters:
pFrom - A reference to a com.esri.arcgis.geometry.IPoint (in)
pFromTangent - A reference to a com.esri.arcgis.geometry.IPoint (in)
bCurveRight - The bCurveRight (in)
fromCurvature - The fromCurvature (in)
toCurvature - The toCurvature (in)
deflectionAngle - The deflectionAngle (in)
__MIDL__IConstructClothoid0001 - A com.esri.arcgis.geometry.esriCurveDensifyMethod constant (in)
densifyParameter - The densifyParameter (in)
Returns:
A reference to a com.esri.arcgis.geometry.IPolyline
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

constructSplitClothoidByLength

public void constructSplitClothoidByLength(IPoint pSplitQuery,
                                           IPoint pFrom,
                                           IPoint pFromTangent,
                                           boolean bCurveRight,
                                           double fromCurvature,
                                           double toCurvature,
                                           double curveLength,
                                           double[] pSplitCurvature,
                                           double[] pSplitLength,
                                           double[] pSplitAngle,
                                           ILine[] ppSplitTangent)
                                    throws java.io.IOException,
                                           AutomationException
Same as ConstructClothoidByLength but reports curve parameters for point on curve closest to split query point.

Specified by:
constructSplitClothoidByLength in interface IConstructClothoid
Parameters:
pSplitQuery - A reference to a com.esri.arcgis.geometry.IPoint (in)
pFrom - A reference to a com.esri.arcgis.geometry.IPoint (in)
pFromTangent - A reference to a com.esri.arcgis.geometry.IPoint (in)
bCurveRight - The bCurveRight (in)
fromCurvature - The fromCurvature (in)
toCurvature - The toCurvature (in)
curveLength - The curveLength (in)
pSplitCurvature - The pSplitCurvature (out: use single element array)
pSplitLength - The pSplitLength (out: use single element array)
pSplitAngle - The pSplitAngle (out: use single element array)
ppSplitTangent - A reference to a com.esri.arcgis.geometry.ILine (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

constructSplitClothoidByAngle

public void constructSplitClothoidByAngle(IPoint pSplitQuery,
                                          IPoint pFrom,
                                          IPoint pFromTangent,
                                          boolean bCurveRight,
                                          double fromCurvature,
                                          double toCurvature,
                                          double deflectionAngle,
                                          double[] pSplitCurvature,
                                          double[] pSplitLength,
                                          double[] pSplitAngle,
                                          ILine[] ppSplitTangent)
                                   throws java.io.IOException,
                                          AutomationException
Same as ConstructClothoidByAngle but reports curve parameters for point on curve closest to split query point.

Specified by:
constructSplitClothoidByAngle in interface IConstructClothoid
Parameters:
pSplitQuery - A reference to a com.esri.arcgis.geometry.IPoint (in)
pFrom - A reference to a com.esri.arcgis.geometry.IPoint (in)
pFromTangent - A reference to a com.esri.arcgis.geometry.IPoint (in)
bCurveRight - The bCurveRight (in)
fromCurvature - The fromCurvature (in)
toCurvature - The toCurvature (in)
deflectionAngle - The deflectionAngle (in)
pSplitCurvature - The pSplitCurvature (out: use single element array)
pSplitLength - The pSplitLength (out: use single element array)
pSplitAngle - The pSplitAngle (out: use single element array)
ppSplitTangent - A reference to a com.esri.arcgis.geometry.ILine (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.