public class Line extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, ILine, ILine2, ILine3, IGeometry, ITransform2D, ICurve, ICurve2, ICurve3, ISegment, IConstructLine, IProximityOperator, ISupportErrorInfo, IClone, ISegmentM, ISegmentZ, ISegmentID, ICurve3D, IProximityOperator3D
Description 'A 2D straight line between a pair of 2D endpoints; can optionally have height, measure and ID attributes at each endpoint.' 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, IID80dac471_f855_4934_884c_a812cf9a99ba, xxDummy
IIDa1d604a8_7914_4435_9b26_43e1ea5baa99
IIDfea4c71c_c5ae_11d0_8307_0000f8034032
IID1b077916_38c5_11d0_92d2_00805f7c28b0
IID1b07790d_38c5_11d0_92d2_00805f7c28b0
IID, IID3be78ad0_886e_11d1_bc78_0000f875bcce, xxDummy
IID, IIDea7ab50b_1a9d_11d6_9fa9_00c04f6bdf0d, xxDummy
IID058def33_2848_11d4_9f82_00c04f6bc8e8
IID, IIDf2c4f0de_c5ae_11d0_8307_0000f8034032, xxDummy
IID, IID199120b6_c677_11d0_8307_0000f8034032, xxDummy
IID, IID1b07790f_38c5_11d0_92d2_00805f7c28b0, xxDummy
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
IID, IID9bff8aeb_e415_11d0_943c_080009eebecb, xxDummy
IID, IID48cf4c91_e3d5_11d2_9f2e_00c04f6bdf0d, xxDummy
IID, IID61b43a4b_e3d5_11d2_9f2e_00c04f6bdf0d, xxDummy
IID, IID703052bd_25f1_11d3_9f3f_00c04f6bdf0d, xxDummy
IID, IIDac4d3da2_4b76_48dd_b393_2468452ca30d, xxDummy
IID, IID97e08cf7_7a24_4290_ba8a_acedb753b42c, xxDummy
Constructor and Description |
---|
Line()
Constructs a Line using ArcGIS Engine.
|
Line(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
Line theLine = (Line) obj; |
Modifier and Type | Method and Description |
---|---|
void |
assign(IClone src)
Assigns the properties of src to the receiver.
|
void |
constructAngleBisector(IPoint from,
IPoint through,
IPoint to,
double length,
boolean useAcuteAngle)
Constructs a line segment being the bisector through the angle defined by the three input points.
|
void |
constructExtended(ILine inLine,
int extendHow)
Extends a line segment until one or both of its endpoints reaches the boundary of the domain of the line's associated spatial reference.
|
void |
densify(int cInSlots,
double maxDeviation,
int[] pcOutSegments,
ILine[] segments)
Densify segment into the specified number of smaller segments.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone.
|
void |
geographicShift(double splitLongitude)
Shift longitudes to the right of splitLongitude.
|
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.
|
double |
getAngle()
The angle between this line and the positive x-axis.
|
static java.lang.String |
getClsid()
getClsid.
|
int |
getDimension()
The topological dimension of this geometry.
|
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.
|
void |
getIDs(int[] fromID,
int[] toID)
Get the IDs on the segment's endpoints.
|
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.
|
double |
getLength3D()
The length of the curve.
|
void |
getMs(double[] fromM,
double[] toM)
Get the Ms on the segment's endpoints.
|
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.
|
void |
getSubcurve3D(double fromDistance,
double toDistance,
boolean bAsRatio,
ICurve3D[] ppOutSubCurve)
Extracts a portion of this curve into a new curve.
|
IPoint |
getToPoint()
The 'to' point of the curve.
|
void |
getZs(double[] fromZ,
double[] toZ)
Get the Zs on the segment's endpoints.
|
int |
hashCode()
the hashcode for this object
|
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo
|
boolean |
isClosed()
Indicates if 'from' and 'to' points (of each part) are identical.
|
boolean |
isClosed3D()
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 |
moveVector(ILine v)
Moves a direction and distance v.
|
void |
project(ISpatialReference newReferenceSystem)
Projects this geometry into a new spatial reference.
|
void |
putCoords(IPoint from,
IPoint to)
Sets this line's endpoints to be 'from' and 'to'.
|
void |
putCoordsEx(IPoint from,
IPoint to)
Sets this segment's endpoints to 'from' and 'to'.
|
void |
putWKSCoords(_WKSPoint from,
_WKSPoint to)
From and To become the new endpoints of this line.
|
void |
queryCoords(IPoint from,
IPoint to)
Copies the endpoints of this line to 'from' and 'to'.
|
void |
queryCurvature(double distanceAlongCurve,
boolean asRatio,
double[] curvature,
ILine unitVector)
Finds curvature and unit vector starting at point on segment and directed to embedded circle center.
|
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 |
queryNearestPoint(IPoint p,
int extension,
IPoint nearest)
Copies into 'nearest' a point on this geometry nearest to the input point.
|
void |
queryNearestPoint3D(IPoint pInP,
int extension,
IPoint pNearest)
Copies into 'nearest' a point on this geometry nearest 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 |
queryPoint3D(int extension,
double distanceAlongCurve,
boolean bAsRatio,
IPoint pOutPoint)
Copies to outPoint the properties of a point on the curve at a specified distance from the beginning of the curve.
|
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 |
queryPointAndDistance3D(int extension,
IPoint pInPoint,
boolean bAsRatio,
IPoint pOutPoint,
double[] pDistanceAlongCurve,
double[] pDistanceFromCurve)
Finds the point on the curve closest to inPoint, then copies that point to outPoint; optionally calculates related items.
|
void |
queryPointsAndDistances(int extension,
double searchRadius,
IPoint inPoint,
boolean asRatio,
double[] distanceFromCurve,
IEnumPointAndDistance[] pointsAndDistances)
Given an input point, calculates the minimum distance to the geometry and provides an enumerator over all closest points on the geometry, along with additional information.
|
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 |
queryWKSCoords(_WKSPoint[] from,
_WKSPoint[] to)
Returns the (x,y) coordinates of this line's endpoints.
|
void |
release()
Release this COM object reference
|
double |
returnDistance(IGeometry other)
Returns the minimum distance between two geometries.
|
double |
returnDistance3D(IGeometry pOther)
Returns the minimal distance between two geometries.
|
IPoint |
returnNearestPoint(IPoint p,
int extension)
Creates and returns a point on this geometry nearest to the input point.
|
IPoint |
returnNearestPoint3D(IPoint pInP,
int extension)
Creates and returns a point on this geometry nearest to the input point.
|
int |
returnTurnDirection(ISegment otherSegment)
Finds turn direction between two connected 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 |
scale(IPoint origin,
double sx,
double sy)
Scales about the specified origin using seperate horizonal and vertical scales.
|
void |
setEmpty()
Removes all points from this geometry.
|
void |
setFromPoint(IPoint from)
The 'from' point of the curve.
|
void |
setIDs(int fromID,
int toID)
Set the IDs on the segment's endpoints.
|
void |
setMs(double fromM,
double toM)
Set the Ms on the segment's endpoints.
|
void |
setSpatialReferenceByRef(ISpatialReference spatialRef)
The spatial reference associated with this geometry.
|
void |
setToPoint(IPoint to)
The 'to' point of the curve.
|
void |
setZs(double fromZ,
double toZ)
Set the Zs on the segment's endpoints.
|
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 |
splitAtDistance(double distances,
boolean asRatio,
ISegment[] fromSegment,
ISegment[] toSegment)
Split segment at specified distance.
|
void |
splitAtDistance3D(double distances,
boolean asRatio,
ISegment[] fromSegment,
ISegment[] toSegment)
Split segment at specified distance.
|
void |
splitDivideLength(double offset,
double length,
boolean asRatio,
int[] numSplitSegments,
ISegment splitSegments)
Divide segment into smaller segments of the specified length.
|
void |
transform(int direction,
ITransformation transformation)
Applies an arbitrary transformation.
|
public Line() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic Line(java.lang.Object obj) throws java.io.IOException
Line theLine = (Line) obj;
obj
to Line
.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.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public void putCoords(IPoint from, IPoint to) throws java.io.IOException, AutomationException
putCoords
in interface ILine
from
- A reference to a com.esri.arcgis.geometry.IPoint (in)to
- 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 queryCoords(IPoint from, IPoint to) throws java.io.IOException, AutomationException
queryCoords
in interface ILine
from
- A reference to a com.esri.arcgis.geometry.IPoint (in)to
- 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 double getAngle() throws java.io.IOException, AutomationException
getAngle
in interface ILine
java.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 ICurve
java.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 ICurve
java.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 ICurve
from
- 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 ICurve
from
- 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 ICurve
java.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 ICurve
to
- 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 ICurve
to
- 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 ICurve
extension
- 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 ICurve
extension
- 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 ICurve
extension
- 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 ICurve
extension
- 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 ICurve
fromDistance
- 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 ICurve
java.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 ICurve
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 IGeometry
java.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 IGeometry
java.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 IGeometry
java.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 IGeometry
spatialRef
- 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 IGeometry
java.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 IGeometry
java.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 IGeometry
outEnvelope
- 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 IGeometry
java.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 IGeometry
newReferenceSystem
- 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 IGeometry
java.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 IGeometry
java.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 IGeometry
longitude
- The longitude (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void putWKSCoords(_WKSPoint from, _WKSPoint to) throws java.io.IOException, AutomationException
putWKSCoords
in interface ILine2
from
- A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef) (in)to
- A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef) (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void queryWKSCoords(_WKSPoint[] from, _WKSPoint[] to) throws java.io.IOException, AutomationException
queryWKSCoords
in interface ILine2
from
- A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef) (out: use single element array)to
- A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint 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 splitAtDistance3D(double distances, boolean asRatio, ISegment[] fromSegment, ISegment[] toSegment) throws java.io.IOException, AutomationException
splitAtDistance3D
in interface ILine3
distances
- The distances (in)asRatio
- The asRatio (in)fromSegment
- A reference to a com.esri.arcgis.geometry.ISegment (out: use single element array)toSegment
- 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 move(double dx, double dy) throws java.io.IOException, AutomationException
move
in interface ITransform2D
dx
- 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 ITransform2D
v
- 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 ITransform2D
origin
- 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 ITransform2D
origin
- 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 ITransform2D
direction
- 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 putCoordsEx(IPoint from, IPoint to) throws java.io.IOException, AutomationException
putCoordsEx
in interface ICurve2
from
- A reference to a com.esri.arcgis.geometry.IPoint (in)to
- 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 queryPointsAndDistances(int extension, double searchRadius, IPoint inPoint, boolean asRatio, double[] distanceFromCurve, IEnumPointAndDistance[] pointsAndDistances) throws java.io.IOException, AutomationException
queryPointsAndDistances
in interface ICurve3
extension
- A com.esri.arcgis.geometry.esriSegmentExtension constant (in)searchRadius
- The searchRadius (in)inPoint
- A reference to a com.esri.arcgis.geometry.IPoint (in)asRatio
- The asRatio (in)distanceFromCurve
- The distanceFromCurve (in/out: use single element array)pointsAndDistances
- A reference to a com.esri.arcgis.geometry.IEnumPointAndDistance (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void queryCurvature(double distanceAlongCurve, boolean asRatio, double[] curvature, ILine unitVector) throws java.io.IOException, AutomationException
queryCurvature
in interface ISegment
distanceAlongCurve
- The distanceAlongCurve (in)asRatio
- The asRatio (in)curvature
- The curvature (out: use single element array)unitVector
- 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 int returnTurnDirection(ISegment otherSegment) throws java.io.IOException, AutomationException
returnTurnDirection
in interface ISegment
otherSegment
- 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 splitAtDistance(double distances, boolean asRatio, ISegment[] fromSegment, ISegment[] toSegment) throws java.io.IOException, AutomationException
splitAtDistance
in interface ISegment
distances
- The distances (in)asRatio
- The asRatio (in)fromSegment
- A reference to a com.esri.arcgis.geometry.ISegment (out: use single element array)toSegment
- 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 splitDivideLength(double offset, double length, boolean asRatio, int[] numSplitSegments, ISegment splitSegments) throws java.io.IOException, AutomationException
splitDivideLength
in interface ISegment
offset
- The offset (in)length
- The length (in)asRatio
- The asRatio (in)numSplitSegments
- The numSplitSegments (in)splitSegments
- 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 densify(int cInSlots, double maxDeviation, int[] pcOutSegments, ILine[] segments) throws java.io.IOException, AutomationException
densify
in interface ISegment
cInSlots
- The cInSlots (in)maxDeviation
- The maxDeviation (in)pcOutSegments
- The pcOutSegments (out: use single element array)segments
- A reference to a com.esri.arcgis.geometry.ILine (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void geographicShift(double splitLongitude) throws java.io.IOException, AutomationException
geographicShift
in interface ISegment
splitLongitude
- The splitLongitude (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void constructAngleBisector(IPoint from, IPoint through, IPoint to, double length, boolean useAcuteAngle) throws java.io.IOException, AutomationException
constructAngleBisector
in interface IConstructLine
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)length
- The length (in)useAcuteAngle
- The useAcuteAngle (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void constructExtended(ILine inLine, int extendHow) throws java.io.IOException, AutomationException
constructExtended
in interface IConstructLine
inLine
- A reference to a com.esri.arcgis.geometry.ILine (in)extendHow
- A com.esri.arcgis.geometry.esriSegmentExtension constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void queryNearestPoint(IPoint p, int extension, IPoint nearest) throws java.io.IOException, AutomationException
queryNearestPoint
in interface IProximityOperator
p
- A reference to a com.esri.arcgis.geometry.IPoint (in)extension
- A com.esri.arcgis.geometry.esriSegmentExtension constant (in)nearest
- 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 returnNearestPoint(IPoint p, int extension) throws java.io.IOException, AutomationException
returnNearestPoint
in interface IProximityOperator
p
- A reference to a com.esri.arcgis.geometry.IPoint (in)extension
- A com.esri.arcgis.geometry.esriSegmentExtension constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double returnDistance(IGeometry other) throws java.io.IOException, AutomationException
returnDistance
in interface IProximityOperator
other
- 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 interfaceSupportsErrorInfo(GUID riid) throws java.io.IOException, AutomationException
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- 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 IClone
java.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 IClone
src
- 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 IClone
other
- 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 IClone
other
- 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 getMs(double[] fromM, double[] toM) throws java.io.IOException, AutomationException
getMs
in interface ISegmentM
fromM
- The fromM (out: use single element array)toM
- The toM (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setMs(double fromM, double toM) throws java.io.IOException, AutomationException
setMs
in interface ISegmentM
fromM
- The fromM (in)toM
- The toM (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void getZs(double[] fromZ, double[] toZ) throws java.io.IOException, AutomationException
getZs
in interface ISegmentZ
fromZ
- The fromZ (out: use single element array)toZ
- The toZ (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setZs(double fromZ, double toZ) throws java.io.IOException, AutomationException
setZs
in interface ISegmentZ
fromZ
- The fromZ (in)toZ
- The toZ (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void getIDs(int[] fromID, int[] toID) throws java.io.IOException, AutomationException
getIDs
in interface ISegmentID
fromID
- The fromID (out: use single element array)toID
- The toID (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setIDs(int fromID, int toID) throws java.io.IOException, AutomationException
setIDs
in interface ISegmentID
fromID
- The fromID (in)toID
- The toID (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getLength3D() throws java.io.IOException, AutomationException
getLength3D
in interface ICurve3D
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void queryPoint3D(int extension, double distanceAlongCurve, boolean bAsRatio, IPoint pOutPoint) throws java.io.IOException, AutomationException
queryPoint3D
in interface ICurve3D
extension
- A com.esri.arcgis.geometry.esriSegmentExtension constant (in)distanceAlongCurve
- The distanceAlongCurve (in)bAsRatio
- The bAsRatio (in)pOutPoint
- 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 getSubcurve3D(double fromDistance, double toDistance, boolean bAsRatio, ICurve3D[] ppOutSubCurve) throws java.io.IOException, AutomationException
getSubcurve3D
in interface ICurve3D
fromDistance
- The fromDistance (in)toDistance
- The toDistance (in)bAsRatio
- The bAsRatio (in)ppOutSubCurve
- A reference to a com.esri.arcgis.geometry.ICurve3D (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void queryPointAndDistance3D(int extension, IPoint pInPoint, boolean bAsRatio, IPoint pOutPoint, double[] pDistanceAlongCurve, double[] pDistanceFromCurve) throws java.io.IOException, AutomationException
queryPointAndDistance3D
in interface ICurve3D
extension
- A com.esri.arcgis.geometry.esriSegmentExtension constant (in)pInPoint
- A reference to a com.esri.arcgis.geometry.IPoint (in)bAsRatio
- The bAsRatio (in)pOutPoint
- A reference to a com.esri.arcgis.geometry.IPoint (in)pDistanceAlongCurve
- The pDistanceAlongCurve (in/out: use single element array)pDistanceFromCurve
- The pDistanceFromCurve (in/out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isClosed3D() throws java.io.IOException, AutomationException
isClosed3D
in interface ICurve3D
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void queryNearestPoint3D(IPoint pInP, int extension, IPoint pNearest) throws java.io.IOException, AutomationException
queryNearestPoint3D
in interface IProximityOperator3D
pInP
- A reference to a com.esri.arcgis.geometry.IPoint (in)extension
- A com.esri.arcgis.geometry.esriSegmentExtension constant (in)pNearest
- 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 returnNearestPoint3D(IPoint pInP, int extension) throws java.io.IOException, AutomationException
returnNearestPoint3D
in interface IProximityOperator3D
pInP
- A reference to a com.esri.arcgis.geometry.IPoint (in)extension
- A com.esri.arcgis.geometry.esriSegmentExtension constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double returnDistance3D(IGeometry pOther) throws java.io.IOException, AutomationException
returnDistance3D
in interface IProximityOperator3D
pOther
- 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.