|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geometry.GeometryEnvironment
public class GeometryEnvironment
Provides a way of creating geometries from different inputs and setting/getting global variables for controlling behavior of geometry methods.
This coclass is a Singleton.
Constructor Summary | |
---|---|
GeometryEnvironment()
Constructs a GeometryEnvironment using ArcGIS Engine. |
|
GeometryEnvironment(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(Object wkb,
IGeometry[] outGeometry,
int[] numBytesRead)
Create a point, polyline, polygon, or multipoint from the specified OGIS WKB format buffer. |
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(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 String |
getClsid()
getClsid. |
double |
getDeviationAutoDensifyTolerance()
The default deviation distance to be used for curve segment densification. |
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 |
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 |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public GeometryEnvironment() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic GeometryEnvironment(Object obj) throws IOException
GeometryEnvironment theGeometryEnvironment = (GeometryEnvironment) obj;
obj
to GeometryEnvironment
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void interfaceSupportsErrorInfo(GUID riid) throws IOException, AutomationException
Indicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double constructThreePoint(IPoint from, IPoint through, IPoint to) throws IOException, AutomationException
ConstructThreePoint returns the Angle formed by three input points. The returned angle is the smaller angle formed by an imaginary line from the first to the second point and the second to the third point. The measure of the constructed angle is between -Pi and Pi. The returned angle can also be thought of as the displacement angle of a line from the second point to the third point with a baseline formed by the first point and second point.
constructThreePoint
in interface IConstructAngle
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IConstructAngle.constructLine(com.esri.arcgis.geometry.ILine)
,
IConstructAngle.constructThreePoint(com.esri.arcgis.geometry.IPoint, com.esri.arcgis.geometry.IPoint, com.esri.arcgis.geometry.IPoint)
public double constructLine(ILine inLine) throws IOException, AutomationException
ConstructLine returns the Angle defined by a given Line input. This is the same Angle returned by the ILine::Angle method. The Angle is displacement of the Line from a baseline through the From Point extending in the positive X direction. The returned angle is the smaller angle with measure between -Pi and Pi.
constructLine
in interface IConstructAngle
inLine
- A reference to a com.esri.arcgis.geometry.ILine (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IConstructAngle.constructLine(com.esri.arcgis.geometry.ILine)
,
IConstructAngle.constructThreePoint(com.esri.arcgis.geometry.IPoint, com.esri.arcgis.geometry.IPoint, com.esri.arcgis.geometry.IPoint)
public void createGeometry(int[] byteCountInOut, byte[] geometryInfo, IGeometry[] outGeometry) throws IOException, AutomationException
createGeometry
in interface IGeometryFactory
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void createGeometryFromWkb(int[] byteCountInOut, byte[] geometryInfo, IGeometry[] outGeometry) throws IOException, AutomationException
createGeometryFromWkb
in interface IGeometryFactory
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void createEmptyGeometryByESRIType(int shapeType, IGeometry[] outGeometry) throws IOException, AutomationException
createEmptyGeometryByESRIType
in interface IGeometryFactory
shapeType
- A com.esri.arcgis.geometry.esriShapeType constant (in)outGeometry
- A reference to a com.esri.arcgis.geometry.IGeometry (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void createEmptyGeometryByType(int geometryType, IGeometry[] outGeometry) throws IOException, AutomationException
createEmptyGeometryByType
in interface IGeometryFactory
geometryType
- A com.esri.arcgis.geometry.esriGeometryType constant (in)outGeometry
- A reference to a com.esri.arcgis.geometry.IGeometry (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void createGeometryFromWkbVariant(Object wkb, IGeometry[] outGeometry, int[] numBytesRead) throws IOException, AutomationException
createGeometryFromWkbVariant
in interface IGeometryFactory
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEnvelope
,
IGeometry
public IGeometry createGeometryFromEnumerator(IEnumGeometry geometries) throws IOException, AutomationException
createGeometryFromEnumerator
in interface IGeometryFactory
geometries
- A reference to a com.esri.arcgis.geometry.IEnumGeometry (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object createWkbVariantFromGeometry(IGeometry inGeometry) throws IOException, AutomationException
createWkbVariantFromGeometry
in interface IGeometryFactory2
inGeometry
- A reference to a com.esri.arcgis.geometry.IGeometry (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void createGeometryEx(int importFlags, int[] byteCountInOut, byte[] geometryInfo, IGeometry[] outGeometry) throws IOException, AutomationException
createGeometryEx
in interface IGeometryFactory3
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setNoDiceLimit(int cMaxPoints) throws IOException, AutomationException
setNoDiceLimit
in interface IGeometryEnvironment
cMaxPoints
- The cMaxPoints (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getNoDiceLimit() throws IOException, AutomationException
NoDiceLimit controls how many vertices must be in the polygon when exporting the geometry to a format that can be directly used by the Win32 drawing API. By default, the limit is 20,000 vertices.
getNoDiceLimit
in interface IGeometryEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAutoDensifyTolerance(double tolerance) throws IOException, AutomationException
The AutoDensifyTolerance value represents the maximum length that densified line segments should have. The value is used to densify straight lines only. To set an automatic densification tolerance value for curves, use IGeometryEnvironment2::DeviationAutoDensifyTolerance.
setAutoDensifyTolerance
in interface IGeometryEnvironment
tolerance
- The tolerance (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getAutoDensifyTolerance() throws IOException, AutomationException
The AutoDensifyTolerance value represents the maximum length that densified line segments should have. The value is used to densify straight line segments only. To set an automatic densification tolerance value for curves, use IGeometryEnvironment2::DeviationAutoDensifyTolerance.
getAutoDensifyTolerance
in interface IGeometryEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPre81Compatibility(boolean pre81Compatible) throws IOException, AutomationException
setPre81Compatibility
in interface IGeometryEnvironment2
pre81Compatible
- The pre81Compatible (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isPre81Compatibility() throws IOException, AutomationException
Returns and sets the flag indicating the preference for extending compatibility with Pre-ArcInfo 8.1 releases at the cost of allowing improperly used IRelationalOperator comparisons to return meaningless false values. If Pre81Compatibility = TRUE, meaningless comparisons of non-Clementini geometries using Clementini relational operators returns FALSE (Even though no meaningful relation actual took place). If Pre81Compatibility = FALSE, these comparisons will return an error message indicating that the attempted comparison is invalid and would not have returned meaningful results. By default, Pre81Compatibility = TRUE.
isPre81Compatibility
in interface IGeometryEnvironment2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAngularAutoDensifyTolerance(double tolerance) throws IOException, AutomationException
setAngularAutoDensifyTolerance
in interface IGeometryEnvironment2
tolerance
- The tolerance (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getAngularAutoDensifyTolerance() throws IOException, AutomationException
getAngularAutoDensifyTolerance
in interface IGeometryEnvironment2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDeviationAutoDensifyTolerance(double tolerance) throws IOException, AutomationException
Note : The number used here is the actual MaxDeviation. (see IPolycurve::Densify for more details)
setDeviationAutoDensifyTolerance
in interface IGeometryEnvironment2
tolerance
- The tolerance (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getDeviationAutoDensifyTolerance() throws IOException, AutomationException
The DeviationAutoDensify controls the Densification factor use when performing automatic densification in ArcGIS. The automatic densification is used when exporting a feature class containing non-linear segments (CircularArc, EllipticArc, BezierCurve) to other file that don’t support non-linear segments. For example, when exporting to shapefile this parameter is used.
Note : The number used here is the actual MaxDeviation. (see IPolycurve::Densify for more details)
getDeviationAutoDensifyTolerance
in interface IGeometryEnvironment2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUseAlternativeTopoOps(boolean alternativeTopoOps) throws IOException, AutomationException
setUseAlternativeTopoOps
in interface IGeometryEnvironment2
alternativeTopoOps
- The alternativeTopoOps (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isUseAlternativeTopoOps() throws IOException, AutomationException
isUseAlternativeTopoOps
in interface IGeometryEnvironment2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isDicingEnabled() throws IOException, AutomationException
isDicingEnabled
in interface IGeometryEnvironment3
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDicingEnabled(boolean dicingEnabled) throws IOException, AutomationException
setDicingEnabled
in interface IGeometryEnvironment3
dicingEnabled
- The dicingEnabled (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isDiceWithTrapezoids() throws IOException, AutomationException
isDiceWithTrapezoids
in interface IGeometryEnvironment4
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDiceWithTrapezoids(boolean diceWithTrapezoids) throws IOException, AutomationException
setDiceWithTrapezoids
in interface IGeometryEnvironment4
diceWithTrapezoids
- The diceWithTrapezoids (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isExpandSubPixelParts() throws IOException, AutomationException
isExpandSubPixelParts
in interface IGeometryEnvironment4
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setExpandSubPixelParts(boolean expandSubPixelParts) throws IOException, AutomationException
setExpandSubPixelParts
in interface IGeometryEnvironment4
expandSubPixelParts
- The expandSubPixelParts (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeometry extrudeFromTo(double fromZ, double toZ, IGeometry baseGeom) throws IOException, AutomationException
Creates a MultiPatch or Polyline from a base geometry by extruding the base geometry along the Z-axis from a given FromZ input to a given ToZ input. The base Z value of the geometry is uniformly set to the FromZ and top Z value is set to a uniform ToZ. The resulting extrusion is always parallel to the XY-plane on both the base and top.
All non-linear segments are treated as linear segments when extrusion is performed. Only Polylines, Polygons, Envelopes, Points, and Multipoints are allowed as input geometries. Polylines, Polygons, and Envelopes will output MultiPatches while Points and Multipoints will output Polylines.
extrudeFromTo
in interface IExtrude
fromZ
- The fromZ (in)toZ
- The toZ (in)baseGeom
- A reference to a com.esri.arcgis.geometry.IGeometry (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IExtrude.extrude(double, com.esri.arcgis.geometry.IGeometry)
,
IConstructMultiPatch.constructExtrudeFromTo(double, double, com.esri.arcgis.geometry.IGeometry)
,
IGlobeHeightProperties.getExtrusionExpressionString()
,
IExtrude.extrudeRelative(com.esri.arcgis.geometry.IVector3D, com.esri.arcgis.geometry.IGeometry)
,
IConstructMultiPatch.constructExtrudeBetween(com.esri.arcgis.geometry.IFunctionalSurface, com.esri.arcgis.geometry.IFunctionalSurface, com.esri.arcgis.geometry.IGeometry)
,
IExtrude
,
IConstructMultiPatch.constructExtrudeAlongLine(com.esri.arcgis.geometry.ILine, com.esri.arcgis.geometry.IGeometry)
,
IExtrude.extrudeAlongLine(com.esri.arcgis.geometry.ILine, com.esri.arcgis.geometry.IGeometry)
,
IExtrude.extrudeBetween(com.esri.arcgis.geometry.IFunctionalSurface, com.esri.arcgis.geometry.IFunctionalSurface, com.esri.arcgis.geometry.IGeometry)
,
IConstructMultiPatch.constructExtrude(double, com.esri.arcgis.geometry.IGeometry)
,
IExtrude.extrudeAbsolute(double, com.esri.arcgis.geometry.IGeometry)
,
IConstructMultiPatch.constructExtrudeAbsolute(double, com.esri.arcgis.geometry.IGeometry)
,
IConstructMultiPatch
,
IExtrude.extrudeFromTo(double, double, com.esri.arcgis.geometry.IGeometry)
,
IConstructMultiPatch.constructExtrudeRelative(com.esri.arcgis.geometry.IVector3D, com.esri.arcgis.geometry.IGeometry)
public IGeometry extrudeAbsolute(double toZ, IGeometry baseGeom) throws IOException, AutomationException
Creates a MultiPatch or Polyline from a base geometry by extruding the base geometry along the Z-axis from the base geometry to a given absolute Z plane. The base Z value of the geometry is preserved and top Z value is uniformly equal to the input absolute Z. The resulting extrusion is always parallel to the XY-plane on the top and only parallel at the base if the base geometry is parallel to the XY-plane. The input geometry should be ZAware and ZSimple.
All non-linear segments are treated as linear segments when extrusion is performed. Only Polylines, Polygons, Envelopes, Points, and Multipoints are allowed as input geometries. Polylines, Polygons, and Envelopes will output MultiPatches while Points and Multipoints will output Polylines.
extrudeAbsolute
in interface IExtrude
toZ
- The toZ (in)baseGeom
- A reference to a com.esri.arcgis.geometry.IGeometry (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IExtrude.extrude(double, com.esri.arcgis.geometry.IGeometry)
,
IConstructMultiPatch.constructExtrudeFromTo(double, double, com.esri.arcgis.geometry.IGeometry)
,
IGlobeHeightProperties.getExtrusionExpressionString()
,
IExtrude.extrudeRelative(com.esri.arcgis.geometry.IVector3D, com.esri.arcgis.geometry.IGeometry)
,
IConstructMultiPatch.constructExtrudeBetween(com.esri.arcgis.geometry.IFunctionalSurface, com.esri.arcgis.geometry.IFunctionalSurface, com.esri.arcgis.geometry.IGeometry)
,
IExtrude
,
IConstructMultiPatch.constructExtrudeAlongLine(com.esri.arcgis.geometry.ILine, com.esri.arcgis.geometry.IGeometry)
,
IExtrude.extrudeAlongLine(com.esri.arcgis.geometry.ILine, com.esri.arcgis.geometry.IGeometry)
,
IExtrude.extrudeBetween(com.esri.arcgis.geometry.IFunctionalSurface, com.esri.arcgis.geometry.IFunctionalSurface, com.esri.arcgis.geometry.IGeometry)
,
IConstructMultiPatch.constructExtrude(double, com.esri.arcgis.geometry.IGeometry)
,
IExtrude.extrudeAbsolute(double, com.esri.arcgis.geometry.IGeometry)
,
IConstructMultiPatch.constructExtrudeAbsolute(double, com.esri.arcgis.geometry.IGeometry)
,
IConstructMultiPatch
,
IExtrude.extrudeFromTo(double, double, com.esri.arcgis.geometry.IGeometry)
,
IConstructMultiPatch.constructExtrudeRelative(com.esri.arcgis.geometry.IVector3D, com.esri.arcgis.geometry.IGeometry)
public IGeometry extrudeBetween(IFunctionalSurface fromSurface, IFunctionalSurface toSurface, IGeometry baseGeom) throws IOException, AutomationException
Constructs a MultiPatch or Polyline from a base geometry and two input FunctionalSurfaces. The constructed MultiPatch is equivalent to the region of extrusion of the base geometry along the Z-axis that is bounded on top and bottom by the two FunctionalSurfaces. Only the portion of the input geometry in the region of intersection of the domains of the FunctionalSurfaces is extruded.
All non-linear segments are treated as linear segments when extrusion is performed. Only Polylines, Polygons, Envelopes, Points, and Multipoints are allowed as input geometries. Polylines, Polygons, and Envelopes will output MultiPatches while Points and Multipoints will output Polylines. Z values from the FunctionalSurfaces are only calculated at Points in the input Geometry.
extrudeBetween
in interface IExtrude
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IExtrude.extrude(double, com.esri.arcgis.geometry.IGeometry)
,
IConstructMultiPatch.constructExtrudeFromTo(double, double, com.esri.arcgis.geometry.IGeometry)
,
IGlobeHeightProperties.getExtrusionExpressionString()
,
IExtrude.extrudeRelative(com.esri.arcgis.geometry.IVector3D, com.esri.arcgis.geometry.IGeometry)
,
IConstructMultiPatch.constructExtrudeBetween(com.esri.arcgis.geometry.IFunctionalSurface, com.esri.arcgis.geometry.IFunctionalSurface, com.esri.arcgis.geometry.IGeometry)
,
IExtrude
,
IConstructMultiPatch.constructExtrudeAlongLine(com.esri.arcgis.geometry.ILine, com.esri.arcgis.geometry.IGeometry)
,
IExtrude.extrudeAlongLine(com.esri.arcgis.geometry.ILine, com.esri.arcgis.geometry.IGeometry)
,
IExtrude.extrudeBetween(com.esri.arcgis.geometry.IFunctionalSurface, com.esri.arcgis.geometry.IFunctionalSurface, com.esri.arcgis.geometry.IGeometry)
,
IConstructMultiPatch.constructExtrude(double, com.esri.arcgis.geometry.IGeometry)
,
IExtrude.extrudeAbsolute(double, com.esri.arcgis.geometry.IGeometry)
,
IConstructMultiPatch.constructExtrudeAbsolute(double, com.esri.arcgis.geometry.IGeometry)
,
IConstructMultiPatch
,
IExtrude.extrudeFromTo(double, double, com.esri.arcgis.geometry.IGeometry)
,
IConstructMultiPatch.constructExtrudeRelative(com.esri.arcgis.geometry.IVector3D, com.esri.arcgis.geometry.IGeometry)
public IGeometry extrudeAlongLine(ILine extrusionLine, IGeometry baseGeom) throws IOException, AutomationException
Creates a MultiPatch or Polyline from a base geometry by extruding the base geometry along an axis defined by the input Line. The base Z value of the geometry is uniformly set to the Z value of the Along Line's FromPoint and top Z value is uniformly set to the Z value of the Along Line's ToPoint. The top geometry is also shifted in the X and Y directions by an offset defined by the X and Y change of the Along Line between From and To Points. The resulting extrusion is always parallel to the XY-plane on both the base and top. The input line should be ZAware and ZSimple.
All non-linear segments are treated as linear segments when extrusion is performed. Only Polylines, Polygons, Envelopes, Points, and Multipoints are allowed as input geometries. Polylines, Polygons, and Envelopes will output MultiPatches while Points and Multipoints will output Polylines.
extrudeAlongLine
in interface IExtrude
extrusionLine
- A reference to a com.esri.arcgis.geometry.ILine (in)baseGeom
- A reference to a com.esri.arcgis.geometry.IGeometry (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IExtrude.extrude(double, com.esri.arcgis.geometry.IGeometry)
,
IConstructMultiPatch.constructExtrudeFromTo(double, double, com.esri.arcgis.geometry.IGeometry)
,
IGlobeHeightProperties.getExtrusionExpressionString()
,
IExtrude.extrudeRelative(com.esri.arcgis.geometry.IVector3D, com.esri.arcgis.geometry.IGeometry)
,
IConstructMultiPatch.constructExtrudeBetween(com.esri.arcgis.geometry.IFunctionalSurface, com.esri.arcgis.geometry.IFunctionalSurface, com.esri.arcgis.geometry.IGeometry)
,
IExtrude
,
IConstructMultiPatch.constructExtrudeAlongLine(com.esri.arcgis.geometry.ILine, com.esri.arcgis.geometry.IGeometry)
,
IExtrude.extrudeAlongLine(com.esri.arcgis.geometry.ILine, com.esri.arcgis.geometry.IGeometry)
,
IExtrude.extrudeBetween(com.esri.arcgis.geometry.IFunctionalSurface, com.esri.arcgis.geometry.IFunctionalSurface, com.esri.arcgis.geometry.IGeometry)
,
IConstructMultiPatch.constructExtrude(double, com.esri.arcgis.geometry.IGeometry)
,
IExtrude.extrudeAbsolute(double, com.esri.arcgis.geometry.IGeometry)
,
IConstructMultiPatch.constructExtrudeAbsolute(double, com.esri.arcgis.geometry.IGeometry)
,
IConstructMultiPatch
,
IExtrude.extrudeFromTo(double, double, com.esri.arcgis.geometry.IGeometry)
,
IConstructMultiPatch.constructExtrudeRelative(com.esri.arcgis.geometry.IVector3D, com.esri.arcgis.geometry.IGeometry)
public IGeometry extrudeRelative(IVector3D extrusionVector, IGeometry baseGeom) throws IOException, AutomationException
Creates a MultiPatch or Polyline from a base geometry by extruding the base geometry along an axis defined by the input Vector3D. The base Z values of the geometry are the same as the base geometry and top Z values are offset from the base by the Z component of the input Vector3D. The top geometry is also shifted in the X and Y directions by an offset defined by the X component and Y component of the Vector3D. The resulting extrusion is parallel to the XY-plane only if the base geometry is parallel to the XY-plane. The input geometry should be ZAware and ZSimple.
All non-linear segments are treated as linear segments when extrusion is performed. Only Polylines, Polygons, Envelopes, Points, and Multipoints are allowed as input geometries. Polylines, Polygons, and Envelopes will output MultiPatches while Points and Multipoints will output Polylines.
extrudeRelative
in interface IExtrude
extrusionVector
- A reference to a com.esri.arcgis.geometry.IVector3D (in)baseGeom
- A reference to a com.esri.arcgis.geometry.IGeometry (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IExtrude.extrude(double, com.esri.arcgis.geometry.IGeometry)
,
IConstructMultiPatch.constructExtrudeFromTo(double, double, com.esri.arcgis.geometry.IGeometry)
,
IGlobeHeightProperties.getExtrusionExpressionString()
,
IExtrude.extrudeRelative(com.esri.arcgis.geometry.IVector3D, com.esri.arcgis.geometry.IGeometry)
,
IConstructMultiPatch.constructExtrudeBetween(com.esri.arcgis.geometry.IFunctionalSurface, com.esri.arcgis.geometry.IFunctionalSurface, com.esri.arcgis.geometry.IGeometry)
,
IExtrude
,
IConstructMultiPatch.constructExtrudeAlongLine(com.esri.arcgis.geometry.ILine, com.esri.arcgis.geometry.IGeometry)
,
IExtrude.extrudeAlongLine(com.esri.arcgis.geometry.ILine, com.esri.arcgis.geometry.IGeometry)
,
IExtrude.extrudeBetween(com.esri.arcgis.geometry.IFunctionalSurface, com.esri.arcgis.geometry.IFunctionalSurface, com.esri.arcgis.geometry.IGeometry)
,
IConstructMultiPatch.constructExtrude(double, com.esri.arcgis.geometry.IGeometry)
,
IExtrude.extrudeAbsolute(double, com.esri.arcgis.geometry.IGeometry)
,
IConstructMultiPatch.constructExtrudeAbsolute(double, com.esri.arcgis.geometry.IGeometry)
,
IConstructMultiPatch
,
IExtrude.extrudeFromTo(double, double, com.esri.arcgis.geometry.IGeometry)
,
IConstructMultiPatch.constructExtrudeRelative(com.esri.arcgis.geometry.IVector3D, com.esri.arcgis.geometry.IGeometry)
public IGeometry extrude(double offsetZ, IGeometry baseGeom) throws IOException, AutomationException
Creates a MultiPatch or Polyline from a base geometry by extruding the base geometry along the Z-axis by a given offset factor. The base Z value of the geometry is preserved and top Z value is calculated as an offset of each point in the input geometry. The resulting extrusion is parallel to the XY-plane only if the base geometry is parallel to the XY-plane. The input geometry should be ZAware and ZSimple.
All non-linear segments are treated as linear segments when extrusion is performed. Only Polylines, Polygons, Envelopes, Points, and Multipoints are allowed as input geometries. Polylines, Polygons, and Envelopes will output MultiPatches while Points and Multipoints will output Polylines.
extrude
in interface IExtrude
offsetZ
- The offsetZ (in)baseGeom
- A reference to a com.esri.arcgis.geometry.IGeometry (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IExtrude.extrude(double, com.esri.arcgis.geometry.IGeometry)
,
IConstructMultiPatch.constructExtrudeFromTo(double, double, com.esri.arcgis.geometry.IGeometry)
,
IGlobeHeightProperties.getExtrusionExpressionString()
,
IExtrude.extrudeRelative(com.esri.arcgis.geometry.IVector3D, com.esri.arcgis.geometry.IGeometry)
,
IConstructMultiPatch.constructExtrudeBetween(com.esri.arcgis.geometry.IFunctionalSurface, com.esri.arcgis.geometry.IFunctionalSurface, com.esri.arcgis.geometry.IGeometry)
,
IExtrude
,
IConstructMultiPatch.constructExtrudeAlongLine(com.esri.arcgis.geometry.ILine, com.esri.arcgis.geometry.IGeometry)
,
IExtrude.extrudeAlongLine(com.esri.arcgis.geometry.ILine, com.esri.arcgis.geometry.IGeometry)
,
IExtrude.extrudeBetween(com.esri.arcgis.geometry.IFunctionalSurface, com.esri.arcgis.geometry.IFunctionalSurface, com.esri.arcgis.geometry.IGeometry)
,
IConstructMultiPatch.constructExtrude(double, com.esri.arcgis.geometry.IGeometry)
,
IExtrude.extrudeAbsolute(double, com.esri.arcgis.geometry.IGeometry)
,
IConstructMultiPatch.constructExtrudeAbsolute(double, com.esri.arcgis.geometry.IGeometry)
,
IConstructMultiPatch
,
IExtrude.extrudeFromTo(double, double, com.esri.arcgis.geometry.IGeometry)
,
IConstructMultiPatch.constructExtrudeRelative(com.esri.arcgis.geometry.IVector3D, com.esri.arcgis.geometry.IGeometry)
public void packNormal(IVector3D normalVector, double[] packedNormal) throws IOException, AutomationException
packNormal
in interface IEncode3DProperties
normalVector
- A reference to a com.esri.arcgis.geometry.IVector3D (in)packedNormal
- The packedNormal (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void unPackNormal(double packedNormal, IVector3D normalVector, boolean[] wasProductive) throws IOException, AutomationException
unPackNormal
in interface IEncode3DProperties
packedNormal
- The packedNormal (in)normalVector
- A reference to a com.esri.arcgis.geometry.IVector3D (in)wasProductive
- The wasProductive (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void packTexture2D(double textureS, double textureT, double[] packedTexture) throws IOException, AutomationException
packTexture2D
in interface IEncode3DProperties
textureS
- The textureS (in)textureT
- The textureT (in)packedTexture
- The packedTexture (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void unPackTexture2D(double packedTextureST, double[] textureS, double[] textureT, boolean[] wasProductive) throws IOException, AutomationException
unPackTexture2D
in interface IEncode3DProperties
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnvelope constructDomainExtent(IEnvelope extent, double scale) throws IOException, AutomationException
The 'scale factor' parameter is typically a power of 10 that specifies the number of significant digits to preserve for coordinates associated with a spatial reference having as its domain the envelope constructed by this method. The constructed envelope has the same center as the input envelope and an extent determined by the scale factor and the version of the spatial reference associated with the input envelope. For example, with a scale factor of 10^5 and a version 9.2 spatial reference, the width/height of the constructed extent will be (2^53-2)/10^5 ˜ 9.0 x 10^10 data units. With a pre 9.2 spatial reference, the constructed extent will be (2^31-2)/10^5 ˜ 2.1 x 10^4 data units.
If the input scale factor is zero, a default output extent is calculated. Typically, that extent will be 1.5 times the maximum extent of the input envelope. The constructed extent will be intersected against the horizon envelope of the spatial reference of the input envelope's spatial reference. Also, if it is too large (> 10^7) the expansion factor will be reduced to 1.1.
The output envelope will have the same set of vertex attributes and spatial reference as the input envelope.
constructDomainExtent
in interface IConstructDomainExtent
extent
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)scale
- The scale (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void constructZMDomainExtent(double inMin, double inMax, double scale, double[] outMin, double[] outMax) throws IOException, AutomationException
constructZMDomainExtent
in interface IConstructDomainExtent
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void queryGeometries(IGeometryCollection pGeometryCollection, int index, IGeometry[][] geometries) throws IOException, AutomationException
All development languages compatible version of IGeometryCollection::QueryGeometries.
queryGeometries
in interface IGeometryBridge
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addGeometries(IGeometryCollection pGeometryCollection, IGeometry[] newGeometries) throws IOException, AutomationException
All development languages compatible version of IGeometryCollection::AddGeometries .
addGeometries
in interface IGeometryBridge
pGeometryCollection
- A reference to a com.esri.arcgis.geometry.IGeometryCollection (in)newGeometries
- A reference to a com.esri.arcgis.geometry.IGeometry array (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void insertGeometries(IGeometryCollection pGeometryCollection, int index, IGeometry[] newGeometries) throws IOException, AutomationException
All development languages compatible version of IGeometryCollection::InsertGeometries.
insertGeometries
in interface IGeometryBridge
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setGeometries(IGeometryCollection pGeometryCollection, IGeometry[] newGeometries) throws IOException, AutomationException
All development languages compatible version of IGeometryCollection::SetGeometries .
setGeometries
in interface IGeometryBridge
pGeometryCollection
- A reference to a com.esri.arcgis.geometry.IGeometryCollection (in)newGeometries
- A reference to a com.esri.arcgis.geometry.IGeometry array (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void queryPoints(IPointCollection4 pPointCollection, int index, IPoint[][] points) throws IOException, AutomationException
All development languages compatible version of IPointCollection::QueryPoints.
When calling this method no count parameter is needed. The length of the array parameter will be used in place of the explicit number given in the IPointCollection::QueryPoints call. This also requires that the array parameter given to IGeometryBridge::QueryPoints can not be longer than the length of the PointCollection minus the index parameter.
queryPoints
in interface IGeometryBridge
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void insertPoints(IPointCollection4 pPointCollection, int index, IPoint[] newPoints) throws IOException, AutomationException
All development languages compatible version of IPointCollection::InsertPoints .
insertPoints
in interface IGeometryBridge
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addPoints(IPointCollection4 pPointCollection, IPoint[] newPoints) throws IOException, AutomationException
All development languages compatible version of IPointCollection::AddPoints .
addPoints
in interface IGeometryBridge
pPointCollection
- A reference to a com.esri.arcgis.geometry.IPointCollection4 (in)newPoints
- A reference to a com.esri.arcgis.geometry.IPoint array (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPoints(IPointCollection4 pPointCollection, IPoint[] newPoints) throws IOException, AutomationException
All development languages compatible version of IPointCollection::SetPoints .
setPoints
in interface IGeometryBridge
pPointCollection
- A reference to a com.esri.arcgis.geometry.IPointCollection4 (in)newPoints
- A reference to a com.esri.arcgis.geometry.IPoint array (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getPoints(IPointCollection4 pPointCollection, int index, IPoint[][] points) throws IOException, AutomationException
All development languages compatible version of IPointCollection::GetPoints .
getPoints
in interface IGeometryBridge
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void replacePoints(IPointCollection4 pPointCollection, int index, int goingAway, IPoint[] newPoints) throws IOException, AutomationException
All development languages compatible version of IPointCollection::ReplacePoints .
replacePoints
in interface IGeometryBridge
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addWKSPointZs(IPointCollection4 pPointCollection, _WKSPointZ[] pointStructures) throws IOException, AutomationException
All development languages compatible version of IPointCollection4::AddWKSPointsZs .
addWKSPointZs
in interface IGeometryBridge
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setWKSPointZs(IPointCollection4 pPointCollection, _WKSPointZ[] pointStructures) throws IOException, AutomationException
All development languages compatible version of IPointCollection4::SetWKSPointsZs .
setWKSPointZs
in interface IGeometryBridge
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void queryWKSPointZs(IPointCollection4 pPointCollection, int index, _WKSPointZ[][] pointStructures) throws IOException, AutomationException
All development languages compatible version of IPointCollection4::QueryWKSPointsZs .
queryWKSPointZs
in interface IGeometryBridge
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void insertWKSPointZs(IPointCollection4 pPointCollection, int index, _WKSPointZ[] newPoints) throws IOException, AutomationException
All development languages compatible version of IPointCollection4::InsertWKSPointsZs .
insertWKSPointZs
in interface IGeometryBridge
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void querySegments(ISegmentCollection pSegmentCollection, int index, ISegment[][] segments) throws IOException, AutomationException
All development languages compatible version of ISegmentCollection::QuerySegments .
querySegments
in interface IGeometryBridge
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addSegments(ISegmentCollection pSegmentCollection, ISegment[] newSegments) throws IOException, AutomationException
All development languages compatible version of ISegmentCollection::AddSegments .
addSegments
in interface IGeometryBridge
pSegmentCollection
- A reference to a com.esri.arcgis.geometry.ISegmentCollection (in)newSegments
- A reference to a com.esri.arcgis.geometry.ISegment array (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void insertSegments(ISegmentCollection pSegmentCollection, int index, ISegment[] newSegments) throws IOException, AutomationException
All development languages compatible version of ISegmentCollection::InsertSegments .
insertSegments
in interface IGeometryBridge
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void replaceSegments(ISegmentCollection pSegmentCollection, int index, int goingAway, ISegment[] newSegments) throws IOException, AutomationException
All development languages compatible version of ISegmentCollection::ReplaceSegments .
replaceSegments
in interface IGeometryBridge
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSegments(ISegmentCollection pSegmentCollection, ISegment[] newSegments) throws IOException, AutomationException
All development languages compatible version of ISegmentCollection::SetSegments .
setSegments
in interface IGeometryBridge
pSegmentCollection
- A reference to a com.esri.arcgis.geometry.ISegmentCollection (in)newSegments
- A reference to a com.esri.arcgis.geometry.ISegment array (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void densify(ISegment pSegment, double maxDeviation, int[] pcOutSegments, ILine[][] segments) throws IOException, AutomationException
All development languages compatible version of ISegment::Densify .
densify
in interface IGeometryBridge
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumGeometry constructBuffers(ITopologicalOperator2 pTopologicalOperator, double[] distances) throws IOException, AutomationException
All development languages compatible version of ITopologicalOperator2::ConstructBuffers .
constructBuffers
in interface IGeometryBridge
pTopologicalOperator
- A reference to a com.esri.arcgis.geometry.ITopologicalOperator2 (in)distances
- The distances (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void queryBeginningRings(IMultiPatch pMultiPatch, int ringTypesDesired, IRing[][] beginningRings) throws IOException, AutomationException
All development languages compatible version of IMultipatch::QueryBeginningRings.
queryBeginningRings
in interface IGeometryBridge
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void queryFollowingRings(IMultiPatch pMultiPatch, IRing beginningRing, IRing[][] followingRings) throws IOException, AutomationException
All development languages compatible version of IMultipatch::QueryFollowingRings .
queryFollowingRings
in interface IGeometryBridge
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addWKSPoints(IPointCollection4 pPointCollection, _WKSPoint[] pointStructures) throws IOException, AutomationException
addWKSPoints
in interface IGeometryBridge2
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setWKSPoints(IPointCollection4 pPointCollection, _WKSPoint[] pointStructures) throws IOException, AutomationException
setWKSPoints
in interface IGeometryBridge2
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void queryWKSPoints(IPointCollection4 pPointCollection, int index, _WKSPoint[][] pointStructures) throws IOException, AutomationException
queryWKSPoints
in interface IGeometryBridge2
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void insertWKSPoints(IPointCollection4 pPointCollection, int index, _WKSPoint[] pointStructures) throws IOException, AutomationException
insertWKSPoints
in interface IGeometryBridge2
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumSplitPoint splitAtDistances(IPolycurve2 polyCurve, double[] distances, boolean asRatios, boolean createParts) throws IOException, AutomationException
splitAtDistances
in interface IGeometryBridge2
polyCurve
- A reference to a com.esri.arcgis.geometry.IPolycurve2 (in)distances
- The distances (in)asRatios
- The asRatios (in)createParts
- The createParts (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void splitDivideLength(ISegment pSegment, double offset, double length, boolean asRatio, int[] numSplitSegments, ISegment[][] splitSegments) throws IOException, AutomationException
splitDivideLength
in interface IGeometryBridge2
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeometry mergeGeometries(IGeometry pOriginal, IGeometry pEdit1, IGeometry pEdit2) throws IOException, AutomationException
Constructs a new geometry by merging the two separate edits of
the same original geometry. If any portion of the two edited
regions or the edits themselves overlaps an error will be returned.
Edited regions are the areas of the polygon or polyline where the
edits took place in respect to the original geometry. Edits
are the changes reflected in the two edited geometries.
In polygons it is the area that the edit has been affected as well
as the vertices and edges that participated in the edits that are
important. Even if edits are on non-consecutive edges or
non-consecutive vertices, if the area that one edit adds or
subtracts from the polygon overlaps the second edit this will be
viewed as a conflict and the geometries will not be merged.
The functionality is fully implemented for multipart
features.
IConstructMerge pConstMrg = new GeometryEnvironmentClass() as IConstructMerge;
\/*IGeometry origGeom;
IGeometry geom1;
IGeometry geom2;
...*\/
IGeometry newGeom = pConstMrg.MergeGeometries(origGeom, geom1, geom2);
mergeGeometries
in interface IConstructMerge
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPolyline constructClothoidByLength(IPoint pFrom, IPoint pFromTangent, boolean bCurveRight, double fromCurvature, double toCurvature, double curveLength, int __MIDL__IConstructClothoid0000, double densifyParameter) throws IOException, AutomationException
constructClothoidByLength
in interface IConstructClothoid
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPolyline constructClothoidByAngle(IPoint pFrom, IPoint pFromTangent, boolean bCurveRight, double fromCurvature, double toCurvature, double deflectionAngle, int __MIDL__IConstructClothoid0001, double densifyParameter) throws IOException, AutomationException
constructClothoidByAngle
in interface IConstructClothoid
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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 IOException, AutomationException
constructSplitClothoidByLength
in interface IConstructClothoid
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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 IOException, AutomationException
constructSplitClothoidByAngle
in interface IConstructClothoid
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |