public class Path extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IPointCollection, IPointCollection4, IGeometry, ISegmentCollection, ICurve, IPath, IConstructPath, ISupportErrorInfo, IClone, ITransform2D, ITransform3D, IXMLSerialize
Description 'A sequence of connected segments.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
IID, IID773f7279_aefb_11d5_8112_00c04fa0adf8, xxDummyIIDaf10d3e8_f2f8_49ec_a6c5_7018099eeaedIIDf643a012_c208_48db_b2d6_565f52b55c8eIIDde08a214_4fc2_11d1_834e_0000f8775be9IID, IIDb3fe6b20_4fc2_11d1_834e_0000f8775be9, xxDummyIID, IID0a82061c_95cb_11d0_82f7_0000f8034032, xxDummyIID1b077916_38c5_11d0_92d2_00805f7c28b0IID1b07790d_38c5_11d0_92d2_00805f7c28b0IID, IIDf4fd2ec0_990a_11d1_bc7d_0000f875bcce, xxDummyIID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummyIID, IID9bff8aeb_e415_11d0_943c_080009eebecb, xxDummyIID, IID3be78ad0_886e_11d1_bc78_0000f875bcce, xxDummyIID, IID9414e949_ffa0_11d3_9f56_00c04f6bdf0d, xxDummyIID, IIDc8545045_6615_48e3_af27_52a0e5fc35e2, xxDummy| Constructor and Description |
|---|
Path()
Constructs a Path using ArcGIS Engine.
|
Path(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
Path thePath = (Path) obj; |
| Modifier and Type | Method and Description |
|---|---|
void |
addPoint(IPoint inPoint,
java.lang.Object before,
java.lang.Object after)
Adds a vertex to a Path, Ring, Polyline, or Polygon; or adds a reference to the input point to a Multipoint, TriangleFan, or TriangleStrip.
|
void |
addPointCollection(IPointCollection newPoints)
Adds copies of points in the input point collection to this Path, Ring, Polyline, or Polygon; or adds references to the points in the collection to this Multipoint, TriangleFan, or TriangleStrip.
|
void |
addPoints(int count,
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, TriangleFan, or TriangleStrip.
|
void |
addSegment(ISegment inSegment,
java.lang.Object before,
java.lang.Object after)
Adds a reference to the input segment at the end, or before or after a specified index.
|
void |
addSegmentCollection(ISegmentCollection segments)
Adds references to the segments from the specified segment collection.
|
void |
addSegments(int count,
ISegment newSegments)
Adds references to segments.
|
void |
addWKSPointZs(int count,
_WKSPointZ pointStructures)
Adds vertices/points to this Path, Ring, Polyline, Polygon, Multipoint, TriangleFan, Triangles, TriangleStrip, or MultiPatch.
|
void |
assign(IClone src)
Assigns the properties of src to the receiver.
|
void |
constructRigidStretch(IPath srcPath,
int stretchStartIndex,
int startAnchor,
int endAnchor,
IPoint stretchEnd)
Constructs a scaled, rotated version of srcPath.
|
void |
deserialize(IXMLSerializeData data)
Deserializes an object from XML.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone.
|
void |
generalize(double maxAllowableOffset)
Generalizes this path using the Douglas-Peucker algorithm.
|
void |
geoNormalize()
Shifts longitudes, if need be, into a continuous range of 360 degrees.
|
void |
geoNormalizeFromLongitude(double longitude)
Normalizes longitudes into a continuous range containing the longitude.
|
static java.lang.String |
getClsid()
getClsid.
|
int |
getDimension()
The topological dimension of this geometry.
|
IEnumCurve |
getEnumCurve()
A new curve enumerator for this segment collection.
|
IEnumSegment |
getEnumSegments()
A new enumerator for this segment collection.
|
IEnumVertex |
getEnumVertices()
A new enumerator for this point collection.
|
IEnvelope |
getEnvelope()
Creates a copy of this geometry's envelope and returns it.
|
IPoint |
getFromPoint()
The 'from' point of the curve.
|
int |
getGeometryType()
The type of this geometry.
|
IEnumSegment |
getIndexedEnumSegments(IGeometry queryGeometry)
A new indexed segment enumerator for this segment collection.
|
IEnumVertex |
getIndexedEnumVertices(IGeometry queryGeometry)
An indexed vertex enumerator for this point collection.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
double |
getLength()
The length of the curve.
|
IPoint |
getPoint(int i)
A copy of the ith vertex of a Path, Ring, Polyline, or Polygon; or a reference to the ith point of a Multipoint, TriangleFan, or TriangleStrip.
|
int |
getPointCount()
The number of points in the collection.
|
void |
getPoints(int index,
int count,
IPoint[] points)
Populates an array with references to points in the Multipoint.
|
ISegment |
getSegment(int i)
A reference to the ith segment.
|
int |
getSegmentCount()
The number of segments.
|
ISpatialReference |
getSpatialReference()
The spatial reference associated with this geometry.
|
void |
getSubcurve(double fromDistance,
double toDistance,
boolean asRatio,
ICurve[] outSubcurve)
Extracts a portion of this curve into a new curve.
|
IPoint |
getToPoint()
The 'to' point of the curve.
|
int |
hashCode()
the hashcode for this object
|
void |
hasNonLinearSegments(boolean[] nonLinearSegments)
Indicates if this segment collection contains segments other than lines.
|
void |
insertPointCollection(int index,
IPointCollection newPoints)
Inserts copies of points, from the input point collection, as vertices into this Path, Ring, Polyline, or Polygon; or references to points in the input point collection into this Multipoint, TriangleFan, or TriangleStrip.
|
void |
insertPoints(int index,
int count,
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, TriangleFan, or TriangleStrip.
|
void |
insertSegmentCollection(int index,
ISegmentCollection newSegments)
Inserts references to the segments in the input collectoin.
|
void |
insertSegmentCollectionEx(int index,
int start,
int count,
ISegmentCollection newSegments)
Inserts references to some of the segments from the input collection.
|
void |
insertSegments(int index,
int count,
ISegment newSegments)
Inserts references to the input segments.
|
void |
insertWKSPointZs(int index,
int count,
_WKSPointZ newPoints)
Inserts new vertices/points into this Path, Ring, Polyline, Polygon, Multipoint, TriangleFan, Triangles, TriangleStrip, or MultiPatch.
|
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo
|
boolean |
isClosed()
Indicates if 'from' and 'to' points (of each part) are identical.
|
boolean |
isEmpty()
Indicates whether this geometry contains any points.
|
boolean |
isEqual(IClone other)
Indicates if the receiver and other have the same properties.
|
boolean |
isIdentical(IClone other)
Indicates if the receiver and other are the same object.
|
void |
move(double dx,
double dy)
Moves dx units horizontally and dy units vertically.
|
void |
move3D(double dx,
double dy,
double dz)
Moves the object by dx, dy and dz along the x, y, and z axes respectively.
|
void |
moveVector(ILine v)
Moves a direction and distance v.
|
void |
moveVector3D(IVector3D v)
Moves the object by an offset defined by a 3D vector.
|
void |
project(ISpatialReference newReferenceSystem)
Projects this geometry into a new spatial reference.
|
IGeometry |
projectToPlane(IPoint planarOrigin,
IVector3D planarPositiveX,
IVector3D planarNorm)
Generates a polygon footprint for the object in an arbitrary plane.
|
void |
queryChordLengthTangents(int pointIndex,
IPoint prevTangent,
boolean[] prevSetByUser,
IPoint nextTangent,
boolean[] nextSetByUser)
Returns tangent vectors (relative to corresponding endpoint) at both sides of a Bezier end point; and whether they have been set by user or by smoothing process.
|
void |
queryEnvelope(IEnvelope outEnvelope)
Copies this geometry's envelope properties into the specified envelope.
|
void |
queryFromPoint(IPoint from)
Copies this curve's 'from' point to the input point.
|
void |
queryNormal(int extension,
double distanceAlongCurve,
boolean asRatio,
double length,
ILine normal)
Constructs a line normal to a curve from a point at a specified distance along the curve.
|
void |
queryPoint(int extension,
double distanceAlongCurve,
boolean asRatio,
IPoint outPoint)
Copies to outPoint the properties of a point on the curve at a specified distance from the beginning of the curve.
|
void |
queryPoint(int index,
IPoint point)
Queries for a point in the PointCollection at given index.
|
void |
queryPointAndDistance(int extension,
IPoint inPoint,
boolean asRatio,
IPoint outPoint,
double[] distanceAlongCurve,
double[] distanceFromCurve,
boolean[] bRightSide)
Finds the point on the curve closest to inPoint, then copies that point to outPoint; optionally calculates related items.
|
void |
queryPoints(int index,
int count,
IPoint points)
Copies some points to an existing array of points.
|
void |
querySegments(int index,
int count,
ISegment[] segments)
Returns references to some of the input segments.
|
void |
queryTangent(int extension,
double distanceAlongCurve,
boolean asRatio,
double length,
ILine tangent)
Constructs a line tangent to a curve from a point at a specified distance along the curve.
|
void |
queryToPoint(IPoint to)
Copies the curve's 'to' point into the input point.
|
void |
queryWKSPointZs(int index,
int count,
_WKSPointZ[] pointStructures)
Copies vertices/points coordinates to the array of point structures.
|
void |
release()
Release this COM object reference
|
void |
removePoints(int index,
int count)
Removes vertices from a Path, Ring, Polyline, or Polygon, or references to points from a Multipoint, TriangleFan, or TriangleStrip.
|
void |
removeSegments(int index,
int count,
boolean closeGap)
Removes references to some segments.
|
void |
replacePointCollection(int index,
int goingAway,
IPointCollection newPoints)
Replaces vertices/points within a PointCollection.
|
void |
replacePoints(int index,
int comingIn,
int goingAway,
IPoint newPoints)
Replaces vertices/points within a PointCollection.
|
void |
replaceSegmentCollection(int index,
int goingAway,
ISegmentCollection newSegments)
Remove and inserts some segments.
|
void |
replaceSegments(int index,
int comingIn,
int goingAway,
ISegment newSegments)
Removes and inserts from segments.
|
void |
reverseOrientation()
Reverses the parameterization of the curve ('from' point becomes 'to' point, first segment becomes last segment, etc).
|
void |
rotate(IPoint origin,
double rotationAngle)
Rotates about the specified origin point.
|
void |
rotateVector3D(IVector3D axis,
double rotationAngle)
Rotates the object about axis defined by the specified vector through an angle measured in radians.
|
void |
scale(IPoint origin,
double sx,
double sy)
Scales about the specified origin using seperate horizonal and vertical scales.
|
void |
scale3D(IPoint origin,
double sx,
double sy,
double sz)
Scales the object about the specified origin point.
|
void |
segmentsChanged()
Informs the segment collection that any cached values that it may be maintaining (envelope, length, etc.) are invalid.
|
void |
serialize(IXMLSerializeData data)
Serializes an object to XML.
|
void |
setChordLengthTangents(int pointIndex,
IPoint prevTangent,
IPoint nextTangent)
Sets tangent vectors (relative to corresponding endpoint) at both sides of a Bezier end point; if either is Nothing, they will be set by smoothing process.
|
void |
setCircle(IPoint cp,
double circleRadius)
Defines this path, ring, polyline or polygon to contain a single circular arc segment that is closed.
|
void |
setEmpty()
Removes all points from this geometry.
|
void |
setFromPoint(IPoint from)
The 'from' point of the curve.
|
void |
setPointCollection(IPointCollection newPoints)
Replaces all vertices of this Path, Ring, Polyline, or Polygon with copies of the points in the input collection; or all points of this Multipoint, TriangleFan, or TriangleStrip with references to points from the input collection.
|
void |
setPoints(int count,
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, TriangleFan, or TriangleStrip with references to the input points (for C++ and VB users only).
|
void |
setRectangle(IEnvelope inEnvelope)
Defines this path, ring, polyline or polygon to have four line segments in the same positions as the sides of the input envelope.
|
void |
setSegmentCollection(ISegmentCollection newSegments)
Replaces all segments with references to segments from the input collection.
|
void |
setSegments(int count,
ISegment newSegments)
Replaces all segments with references to the input segments.
|
void |
setSpatialReferenceByRef(ISpatialReference spatialRef)
The spatial reference associated with this geometry.
|
void |
setToPoint(IPoint to)
The 'to' point of the curve.
|
void |
setWKSPointZs(int count,
_WKSPointZ pointStructures)
Replaces all vertices/points of this Path, Ring, Polyline, Polygon, Multipoint, TriangleFan, Triangles, TriangleStrip, or MultiPatch with new ones.
|
void |
smooth(double maxAllowableOffset)
Converts this path into a smooth approximation of itself that contains only Bezier curve segments.
|
void |
smoothLocal(int vertexIndex)
Replaces up to four segments (two on each of the specified vertex index) with bezier curves.
|
void |
snapToSpatialReference()
Moves points of this geometry so that they can be represented in the precision of the geometry's associated spatial reference system.
|
void |
transform(int direction,
ITransformation transformation)
Applies an arbitrary transformation.
|
void |
transform3D(int direction,
ITransformation3D transformation)
Applies an arbitrary 3D transformation.
|
void |
updatePoint(int i,
IPoint p)
Changes the ith vertex or point to be a copy of the input point.
|
public Path()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problemsjava.net.UnknownHostException - if there are interop problemspublic Path(java.lang.Object obj)
throws java.io.IOException
Path thePath = (Path) obj;obj to Path.obj - an object returned from ArcGIS Engine or Serverjava.io.IOException - if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRefpublic int getPointCount()
throws java.io.IOException,
AutomationException
getPointCount in interface IPointCollectionjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IPoint getPoint(int i) throws java.io.IOException, AutomationException
getPoint in interface IPointCollectioni - The i (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void addPoint(IPoint inPoint, java.lang.Object before, java.lang.Object after) throws java.io.IOException, AutomationException
addPoint in interface IPointCollectioninPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)before - A Variant (in, optional, pass null if not required)after - A Variant (in, optional, pass null if not required)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void updatePoint(int i,
IPoint p)
throws java.io.IOException,
AutomationException
updatePoint in interface IPointCollectioni - The i (in)p - A reference to a com.esri.arcgis.geometry.IPoint (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void queryPoints(int index,
int count,
IPoint points)
throws java.io.IOException,
AutomationException
queryPoints in interface IPointCollectionindex - The index (in)count - The count (in)points - A reference to a com.esri.arcgis.geometry.IPoint (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void insertPoints(int index,
int count,
IPoint newPoints)
throws java.io.IOException,
AutomationException
insertPoints in interface IPointCollectionindex - The index (in)count - The count (in)newPoints - A reference to a com.esri.arcgis.geometry.IPoint (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void insertPointCollection(int index,
IPointCollection newPoints)
throws java.io.IOException,
AutomationException
insertPointCollection in interface IPointCollectionindex - The index (in)newPoints - A reference to a com.esri.arcgis.geometry.IPointCollection (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void addPoints(int count,
IPoint newPoints)
throws java.io.IOException,
AutomationException
addPoints in interface IPointCollectioncount - The count (in)newPoints - A reference to a com.esri.arcgis.geometry.IPoint (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void addPointCollection(IPointCollection newPoints) throws java.io.IOException, AutomationException
addPointCollection in interface IPointCollectionnewPoints - A reference to a com.esri.arcgis.geometry.IPointCollection (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setPoints(int count,
IPoint newPoints)
throws java.io.IOException,
AutomationException
setPoints in interface IPointCollectioncount - The count (in)newPoints - A reference to a com.esri.arcgis.geometry.IPoint (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setPointCollection(IPointCollection newPoints) throws java.io.IOException, AutomationException
setPointCollection in interface IPointCollectionnewPoints - A reference to a com.esri.arcgis.geometry.IPointCollection (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void removePoints(int index,
int count)
throws java.io.IOException,
AutomationException
removePoints in interface IPointCollectionindex - The index (in)count - The count (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IEnumVertex getEnumVertices() throws java.io.IOException, AutomationException
getEnumVertices in interface IPointCollectionjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void replacePoints(int index,
int comingIn,
int goingAway,
IPoint newPoints)
throws java.io.IOException,
AutomationException
replacePoints in interface IPointCollectionindex - The index (in)comingIn - The comingIn (in)goingAway - The goingAway (in)newPoints - A reference to a com.esri.arcgis.geometry.IPoint (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void replacePointCollection(int index,
int goingAway,
IPointCollection newPoints)
throws java.io.IOException,
AutomationException
replacePointCollection in interface IPointCollectionindex - The index (in)goingAway - The goingAway (in)newPoints - A reference to a com.esri.arcgis.geometry.IPointCollection (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void queryPoint(int index,
IPoint point)
throws java.io.IOException,
AutomationException
queryPoint in interface IPointCollectionindex - The index (in)point - A reference to a com.esri.arcgis.geometry.IPoint (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void addWKSPointZs(int count,
_WKSPointZ pointStructures)
throws java.io.IOException,
AutomationException
addWKSPointZs in interface IPointCollection4count - The count (in)pointStructures - A Structure: com.esri.arcgis.system._WKSPointZ (A com.esri.arcgis.system._WKSPointZ COM typedef) (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setWKSPointZs(int count,
_WKSPointZ pointStructures)
throws java.io.IOException,
AutomationException
setWKSPointZs in interface IPointCollection4count - The count (in)pointStructures - A Structure: com.esri.arcgis.system._WKSPointZ (A com.esri.arcgis.system._WKSPointZ COM typedef) (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void queryWKSPointZs(int index,
int count,
_WKSPointZ[] pointStructures)
throws java.io.IOException,
AutomationException
queryWKSPointZs in interface IPointCollection4index - The index (in)count - The count (in)pointStructures - A Structure: com.esri.arcgis.system._WKSPointZ (A com.esri.arcgis.system._WKSPointZ COM typedef) (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void insertWKSPointZs(int index,
int count,
_WKSPointZ newPoints)
throws java.io.IOException,
AutomationException
insertWKSPointZs in interface IPointCollection4index - The index (in)count - The count (in)newPoints - A Structure: com.esri.arcgis.system._WKSPointZ (A com.esri.arcgis.system._WKSPointZ COM typedef) (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IEnumVertex getIndexedEnumVertices(IGeometry queryGeometry) throws java.io.IOException, AutomationException
getIndexedEnumVertices in interface IPointCollection3queryGeometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void getPoints(int index,
int count,
IPoint[] points)
throws java.io.IOException,
AutomationException
getPoints in interface IPointCollection2index - The index (in)count - The count (in)points - A reference to a com.esri.arcgis.geometry.IPoint (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getGeometryType()
throws java.io.IOException,
AutomationException
getGeometryType in interface IGeometryjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getDimension()
throws java.io.IOException,
AutomationException
getDimension in interface IGeometryjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public ISpatialReference getSpatialReference() throws java.io.IOException, AutomationException
getSpatialReference in interface IGeometryjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setSpatialReferenceByRef(ISpatialReference spatialRef) throws java.io.IOException, AutomationException
setSpatialReferenceByRef in interface IGeometryspatialRef - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isEmpty()
throws java.io.IOException,
AutomationException
isEmpty in interface IGeometryjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setEmpty()
throws java.io.IOException,
AutomationException
setEmpty in interface IGeometryjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void queryEnvelope(IEnvelope outEnvelope) throws java.io.IOException, AutomationException
queryEnvelope in interface IGeometryoutEnvelope - A reference to a com.esri.arcgis.geometry.IEnvelope (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IEnvelope getEnvelope() throws java.io.IOException, AutomationException
getEnvelope in interface IGeometryjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void project(ISpatialReference newReferenceSystem) throws java.io.IOException, AutomationException
project in interface IGeometrynewReferenceSystem - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void snapToSpatialReference()
throws java.io.IOException,
AutomationException
snapToSpatialReference in interface IGeometryjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void geoNormalize()
throws java.io.IOException,
AutomationException
geoNormalize in interface IGeometryjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void geoNormalizeFromLongitude(double longitude)
throws java.io.IOException,
AutomationException
geoNormalizeFromLongitude in interface IGeometrylongitude - The longitude (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getSegmentCount()
throws java.io.IOException,
AutomationException
getSegmentCount in interface ISegmentCollectionjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public ISegment getSegment(int i) throws java.io.IOException, AutomationException
getSegment in interface ISegmentCollectioni - The i (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void addSegment(ISegment inSegment, java.lang.Object before, java.lang.Object after) throws java.io.IOException, AutomationException
addSegment in interface ISegmentCollectioninSegment - A reference to a com.esri.arcgis.geometry.ISegment (in)before - A Variant (in, optional, pass null if not required)after - A Variant (in, optional, pass null if not required)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void querySegments(int index,
int count,
ISegment[] segments)
throws java.io.IOException,
AutomationException
querySegments in interface ISegmentCollectionindex - The index (in)count - The count (in)segments - A reference to a com.esri.arcgis.geometry.ISegment (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void addSegments(int count,
ISegment newSegments)
throws java.io.IOException,
AutomationException
addSegments in interface ISegmentCollectioncount - The count (in)newSegments - A reference to a com.esri.arcgis.geometry.ISegment (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void addSegmentCollection(ISegmentCollection segments) throws java.io.IOException, AutomationException
addSegmentCollection in interface ISegmentCollectionsegments - A reference to a com.esri.arcgis.geometry.ISegmentCollection (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void insertSegments(int index,
int count,
ISegment newSegments)
throws java.io.IOException,
AutomationException
insertSegments in interface ISegmentCollectionindex - The index (in)count - The count (in)newSegments - A reference to a com.esri.arcgis.geometry.ISegment (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void insertSegmentCollection(int index,
ISegmentCollection newSegments)
throws java.io.IOException,
AutomationException
insertSegmentCollection in interface ISegmentCollectionindex - The index (in)newSegments - A reference to a com.esri.arcgis.geometry.ISegmentCollection (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void insertSegmentCollectionEx(int index,
int start,
int count,
ISegmentCollection newSegments)
throws java.io.IOException,
AutomationException
insertSegmentCollectionEx in interface ISegmentCollectionindex - The index (in)start - The start (in)count - The count (in)newSegments - A reference to a com.esri.arcgis.geometry.ISegmentCollection (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void replaceSegments(int index,
int comingIn,
int goingAway,
ISegment newSegments)
throws java.io.IOException,
AutomationException
replaceSegments in interface ISegmentCollectionindex - The index (in)comingIn - The comingIn (in)goingAway - The goingAway (in)newSegments - A reference to a com.esri.arcgis.geometry.ISegment (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void replaceSegmentCollection(int index,
int goingAway,
ISegmentCollection newSegments)
throws java.io.IOException,
AutomationException
replaceSegmentCollection in interface ISegmentCollectionindex - The index (in)goingAway - The goingAway (in)newSegments - A reference to a com.esri.arcgis.geometry.ISegmentCollection (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void removeSegments(int index,
int count,
boolean closeGap)
throws java.io.IOException,
AutomationException
removeSegments in interface ISegmentCollectionindex - The index (in)count - The count (in)closeGap - The closeGap (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setCircle(IPoint cp, double circleRadius) throws java.io.IOException, AutomationException
setCircle in interface ISegmentCollectioncp - A reference to a com.esri.arcgis.geometry.IPoint (in)circleRadius - The circleRadius (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setRectangle(IEnvelope inEnvelope) throws java.io.IOException, AutomationException
setRectangle in interface ISegmentCollectioninEnvelope - A reference to a com.esri.arcgis.geometry.IEnvelope (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setSegments(int count,
ISegment newSegments)
throws java.io.IOException,
AutomationException
setSegments in interface ISegmentCollectioncount - The count (in)newSegments - A reference to a com.esri.arcgis.geometry.ISegment (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setSegmentCollection(ISegmentCollection newSegments) throws java.io.IOException, AutomationException
setSegmentCollection in interface ISegmentCollectionnewSegments - A reference to a com.esri.arcgis.geometry.ISegmentCollection (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IEnumSegment getEnumSegments() throws java.io.IOException, AutomationException
getEnumSegments in interface ISegmentCollectionjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IEnumCurve getEnumCurve() throws java.io.IOException, AutomationException
getEnumCurve in interface ISegmentCollectionjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void hasNonLinearSegments(boolean[] nonLinearSegments)
throws java.io.IOException,
AutomationException
hasNonLinearSegments in interface ISegmentCollectionnonLinearSegments - The nonLinearSegments (in/out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IEnumSegment getIndexedEnumSegments(IGeometry queryGeometry) throws java.io.IOException, AutomationException
getIndexedEnumSegments in interface ISegmentCollectionqueryGeometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void segmentsChanged()
throws java.io.IOException,
AutomationException
segmentsChanged in interface ISegmentCollectionjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public double getLength()
throws java.io.IOException,
AutomationException
getLength in interface ICurvejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IPoint getFromPoint() throws java.io.IOException, AutomationException
getFromPoint in interface ICurvejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setFromPoint(IPoint from) throws java.io.IOException, AutomationException
setFromPoint in interface ICurvefrom - A reference to a com.esri.arcgis.geometry.IPoint (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void queryFromPoint(IPoint from) throws java.io.IOException, AutomationException
queryFromPoint in interface ICurvefrom - A reference to a com.esri.arcgis.geometry.IPoint (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IPoint getToPoint() throws java.io.IOException, AutomationException
getToPoint in interface ICurvejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setToPoint(IPoint to) throws java.io.IOException, AutomationException
setToPoint in interface ICurveto - A reference to a com.esri.arcgis.geometry.IPoint (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void queryToPoint(IPoint to) throws java.io.IOException, AutomationException
queryToPoint in interface ICurveto - A reference to a com.esri.arcgis.geometry.IPoint (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void queryPoint(int extension,
double distanceAlongCurve,
boolean asRatio,
IPoint outPoint)
throws java.io.IOException,
AutomationException
queryPoint in interface ICurveextension - A com.esri.arcgis.geometry.esriSegmentExtension constant (in)distanceAlongCurve - The distanceAlongCurve (in)asRatio - The asRatio (in)outPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void queryPointAndDistance(int extension,
IPoint inPoint,
boolean asRatio,
IPoint outPoint,
double[] distanceAlongCurve,
double[] distanceFromCurve,
boolean[] bRightSide)
throws java.io.IOException,
AutomationException
queryPointAndDistance in interface ICurveextension - A com.esri.arcgis.geometry.esriSegmentExtension constant (in)inPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)asRatio - The asRatio (in)outPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)distanceAlongCurve - The distanceAlongCurve (in/out: use single element array)distanceFromCurve - The distanceFromCurve (in/out: use single element array)bRightSide - The bRightSide (in/out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void queryTangent(int extension,
double distanceAlongCurve,
boolean asRatio,
double length,
ILine tangent)
throws java.io.IOException,
AutomationException
queryTangent in interface ICurveextension - A com.esri.arcgis.geometry.esriSegmentExtension constant (in)distanceAlongCurve - The distanceAlongCurve (in)asRatio - The asRatio (in)length - The length (in)tangent - A reference to a com.esri.arcgis.geometry.ILine (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void queryNormal(int extension,
double distanceAlongCurve,
boolean asRatio,
double length,
ILine normal)
throws java.io.IOException,
AutomationException
queryNormal in interface ICurveextension - A com.esri.arcgis.geometry.esriSegmentExtension constant (in)distanceAlongCurve - The distanceAlongCurve (in)asRatio - The asRatio (in)length - The length (in)normal - A reference to a com.esri.arcgis.geometry.ILine (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void getSubcurve(double fromDistance,
double toDistance,
boolean asRatio,
ICurve[] outSubcurve)
throws java.io.IOException,
AutomationException
getSubcurve in interface ICurvefromDistance - The fromDistance (in)toDistance - The toDistance (in)asRatio - The asRatio (in)outSubcurve - A reference to a com.esri.arcgis.geometry.ICurve (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void reverseOrientation()
throws java.io.IOException,
AutomationException
reverseOrientation in interface ICurvejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isClosed()
throws java.io.IOException,
AutomationException
isClosed in interface ICurvejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void generalize(double maxAllowableOffset)
throws java.io.IOException,
AutomationException
generalize in interface IPathmaxAllowableOffset - The maxAllowableOffset (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void smooth(double maxAllowableOffset)
throws java.io.IOException,
AutomationException
smooth in interface IPathmaxAllowableOffset - The maxAllowableOffset (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void smoothLocal(int vertexIndex)
throws java.io.IOException,
AutomationException
smoothLocal in interface IPathvertexIndex - The vertexIndex (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void queryChordLengthTangents(int pointIndex,
IPoint prevTangent,
boolean[] prevSetByUser,
IPoint nextTangent,
boolean[] nextSetByUser)
throws java.io.IOException,
AutomationException
queryChordLengthTangents in interface IPathpointIndex - The pointIndex (in)prevTangent - A reference to a com.esri.arcgis.geometry.IPoint (in)prevSetByUser - The prevSetByUser (in/out: use single element array)nextTangent - A reference to a com.esri.arcgis.geometry.IPoint (in)nextSetByUser - The nextSetByUser (in/out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setChordLengthTangents(int pointIndex,
IPoint prevTangent,
IPoint nextTangent)
throws java.io.IOException,
AutomationException
setChordLengthTangents in interface IPathpointIndex - The pointIndex (in)prevTangent - A reference to a com.esri.arcgis.geometry.IPoint (in)nextTangent - A reference to a com.esri.arcgis.geometry.IPoint (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void constructRigidStretch(IPath srcPath, int stretchStartIndex, int startAnchor, int endAnchor, IPoint stretchEnd) throws java.io.IOException, AutomationException
constructRigidStretch in interface IConstructPathsrcPath - A reference to a com.esri.arcgis.geometry.IPath (in)stretchStartIndex - The stretchStartIndex (in)startAnchor - The startAnchor (in)endAnchor - The endAnchor (in)stretchEnd - A reference to a com.esri.arcgis.geometry.IPoint (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws java.io.IOException, AutomationException
interfaceSupportsErrorInfo in interface ISupportErrorInforiid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IClone esri_clone() throws java.io.IOException, AutomationException
esri_clone in interface IClonejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void assign(IClone src) throws java.io.IOException, AutomationException
assign in interface IClonesrc - A reference to a com.esri.arcgis.system.IClone (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isEqual(IClone other) throws java.io.IOException, AutomationException
isEqual in interface ICloneother - A reference to a com.esri.arcgis.system.IClone (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isIdentical(IClone other) throws java.io.IOException, AutomationException
isIdentical in interface ICloneother - A reference to a com.esri.arcgis.system.IClone (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void move(double dx,
double dy)
throws java.io.IOException,
AutomationException
move in interface ITransform2Ddx - The dx (in)dy - The dy (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void moveVector(ILine v) throws java.io.IOException, AutomationException
moveVector in interface ITransform2Dv - A reference to a com.esri.arcgis.geometry.ILine (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void scale(IPoint origin, double sx, double sy) throws java.io.IOException, AutomationException
scale in interface ITransform2Dorigin - A reference to a com.esri.arcgis.geometry.IPoint (in)sx - The sx (in)sy - The sy (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void rotate(IPoint origin, double rotationAngle) throws java.io.IOException, AutomationException
rotate in interface ITransform2Dorigin - A reference to a com.esri.arcgis.geometry.IPoint (in)rotationAngle - The rotationAngle (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void transform(int direction,
ITransformation transformation)
throws java.io.IOException,
AutomationException
transform in interface ITransform2Ddirection - A com.esri.arcgis.geometry.esriTransformDirection constant (in)transformation - A reference to a com.esri.arcgis.geometry.ITransformation (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void move3D(double dx,
double dy,
double dz)
throws java.io.IOException,
AutomationException
move3D in interface ITransform3Ddx - The dx (in)dy - The dy (in)dz - The dz (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void moveVector3D(IVector3D v) throws java.io.IOException, AutomationException
moveVector3D in interface ITransform3Dv - A reference to a com.esri.arcgis.geometry.IVector3D (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void scale3D(IPoint origin, double sx, double sy, double sz) throws java.io.IOException, AutomationException
scale3D in interface ITransform3Dorigin - A reference to a com.esri.arcgis.geometry.IPoint (in)sx - The sx (in)sy - The sy (in)sz - The sz (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void rotateVector3D(IVector3D axis, double rotationAngle) throws java.io.IOException, AutomationException
rotateVector3D in interface ITransform3Daxis - A reference to a com.esri.arcgis.geometry.IVector3D (in)rotationAngle - The rotationAngle (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void transform3D(int direction,
ITransformation3D transformation)
throws java.io.IOException,
AutomationException
transform3D in interface ITransform3Ddirection - A com.esri.arcgis.geometry.esriTransformDirection constant (in)transformation - A reference to a com.esri.arcgis.geometry.ITransformation3D (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IGeometry projectToPlane(IPoint planarOrigin, IVector3D planarPositiveX, IVector3D planarNorm) throws java.io.IOException, AutomationException
projectToPlane in interface ITransform3DplanarOrigin - A reference to a com.esri.arcgis.geometry.IPoint (in)planarPositiveX - A reference to a com.esri.arcgis.geometry.IVector3D (in)planarNorm - A reference to a com.esri.arcgis.geometry.IVector3D (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void serialize(IXMLSerializeData data) throws java.io.IOException, AutomationException
serialize in interface IXMLSerializedata - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void deserialize(IXMLSerializeData data) throws java.io.IOException, AutomationException
deserialize in interface IXMLSerializedata - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.