public class BezierCurve extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IBezierCurveGEN, IBezierCurve, IBezierCurve2, IBezierCurve3, IGeometry, ITransform2D, ICurve, ICurve2, ICurve3, ISegment, IConstructBezierCurve, IProximityOperator, ISupportErrorInfo, IClone, ISegmentM, ISegmentZ, ISegmentID
Description 'A cubic Bezier curve defined between two points; optionally has measure, height 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, IID64de4fd4_6e85_41ef_8401_8bde5e7beaab, xxDummy
IID, IID7d2ebdd3_edf5_4072_91f4_978fb62c6e3b, xxDummy
IID6657316f_ec45_4d6b_9526_440de441c250
IID19b8936c_b159_11d1_a2d3_0000f8775fbf
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, IID252c0510_b381_11d1_a2d4_0000f8775fbf, 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
Constructor and Description |
---|
BezierCurve()
Constructs a BezierCurve using ArcGIS Engine.
|
BezierCurve(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
BezierCurve theBezierCurve = (BezierCurve) obj; |
Modifier and Type | Method and Description |
---|---|
void |
assign(IClone src)
Assigns the properties of src to the receiver.
|
void |
constructTangentsAtEndpoints(ILine pTangentAtFrom,
ILine pTangentAtTo)
Constructs a Bezier curve from tangents at both endpoints.
|
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.
|
static java.lang.String |
getClsid()
getClsid.
|
int |
getDegree()
The degree of the Bezier curve.
|
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.
|
void |
getMs(double[] fromM,
double[] toM)
Get the Ms on the segment's endpoints.
|
double |
getParameter(double distanceAlongCurve,
boolean asRatio)
The parametric distance along the bezier.
|
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.
|
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 |
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.
|
boolean |
isLine()
Indicates if the curve degenerated to a line.
|
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 |
putCoord(int index,
IPoint controlPoint)
Sets the specified (0 <= index < 4) control point of this Bezier curve.
|
void |
putCoords(int numPoints,
IPoint controlPoints)
Sets this Bezier curve's control points from an array of between 1 to 4 input points.
|
void |
putCoords(IPoint[] controlPoints)
Sets this Bezier curve's control points from an array of between 1 to 4 input points.
|
void |
putCoordsEx(IPoint from,
IPoint to)
Sets this segment's endpoints to 'from' and 'to'.
|
void |
queryChordLengthTangentAtFrom(IPoint tangent,
boolean[] setByUser)
Returns tangent vector at 'from' point, based on chord length parametrization; and whether it has been set by user or by smoothing process.
|
void |
queryChordLengthTangentAtTo(IPoint tangent,
boolean[] setByUser)
Returns tangent vector at 'to' point, based on chord length parametrization; and whether it has been set by user or by smoothing process.
|
void |
queryCoord(int index,
IPoint controlPoint)
Copies the specified control point of this Bezier curve into the input point.
|
void |
queryCoords(IPoint controlPoints)
Copies this Bezier curve's control points into the array of 4 existing points.
|
void |
queryCoords(IPoint[] controlPoints)
Sets the existing elements of an existing safe array to be equal to the four control points of this bezier curve.
|
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 |
queryInflectionPoint(IPoint inflectionPoint)
Finds inflection point; sets it empty if none exists.
|
void |
queryNearestPoint(IPoint p,
int extension,
IPoint nearest)
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 |
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 |
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 |
release()
Release this COM object reference
|
double |
returnDistance(IGeometry other)
Returns the minimum distance between two geometries.
|
IPoint |
returnNearestPoint(IPoint p,
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 |
setChordLengthTangentAtFrom(IPoint tangent,
boolean setByUser)
Establishes tangent vector at 'from' point, based on chord length parametrization; and sets flag whether it has been set by user or by smoothing process.
|
void |
setChordLengthTangentAtTo(IPoint tangent,
boolean setByUser)
Establishes tangent vector at 'to' point, based on chord length parametrization; and sets flag whether it has been set by user or by smoothing process.
|
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 |
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 BezierCurve() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic BezierCurve(java.lang.Object obj) throws java.io.IOException
BezierCurve theBezierCurve = (BezierCurve) obj;
obj
to BezierCurve
.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 queryCoords(IPoint[] controlPoints) throws java.io.IOException, AutomationException
queryCoords
in interface IBezierCurveGEN
controlPoints
- A reference to a com.esri.arcgis.geometry.IPoint array (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void putCoords(IPoint[] controlPoints) throws java.io.IOException, AutomationException
putCoords
in interface IBezierCurveGEN
controlPoints
- A reference to a com.esri.arcgis.geometry.IPoint array (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void queryCoord(int index, IPoint controlPoint) throws java.io.IOException, AutomationException
queryCoord
in interface IBezierCurve
queryCoord
in interface IBezierCurveGEN
index
- The index (in)controlPoint
- 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 putCoord(int index, IPoint controlPoint) throws java.io.IOException, AutomationException
putCoord
in interface IBezierCurve
putCoord
in interface IBezierCurveGEN
index
- The index (in)controlPoint
- 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 int getDegree() throws java.io.IOException, AutomationException
getDegree
in interface IBezierCurve
getDegree
in interface IBezierCurveGEN
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void queryChordLengthTangentAtFrom(IPoint tangent, boolean[] setByUser) throws java.io.IOException, AutomationException
queryChordLengthTangentAtFrom
in interface IBezierCurve
queryChordLengthTangentAtFrom
in interface IBezierCurveGEN
tangent
- A reference to a com.esri.arcgis.geometry.IPoint (in)setByUser
- The setByUser (in/out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void queryChordLengthTangentAtTo(IPoint tangent, boolean[] setByUser) throws java.io.IOException, AutomationException
queryChordLengthTangentAtTo
in interface IBezierCurve
queryChordLengthTangentAtTo
in interface IBezierCurveGEN
tangent
- A reference to a com.esri.arcgis.geometry.IPoint (in)setByUser
- The setByUser (in/out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setChordLengthTangentAtFrom(IPoint tangent, boolean setByUser) throws java.io.IOException, AutomationException
setChordLengthTangentAtFrom
in interface IBezierCurve
setChordLengthTangentAtFrom
in interface IBezierCurveGEN
tangent
- A reference to a com.esri.arcgis.geometry.IPoint (in)setByUser
- The setByUser (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setChordLengthTangentAtTo(IPoint tangent, boolean setByUser) throws java.io.IOException, AutomationException
setChordLengthTangentAtTo
in interface IBezierCurve
setChordLengthTangentAtTo
in interface IBezierCurveGEN
tangent
- A reference to a com.esri.arcgis.geometry.IPoint (in)setByUser
- The setByUser (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void queryInflectionPoint(IPoint inflectionPoint) throws java.io.IOException, AutomationException
queryInflectionPoint
in interface IBezierCurve
queryInflectionPoint
in interface IBezierCurveGEN
inflectionPoint
- 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 controlPoints) throws java.io.IOException, AutomationException
queryCoords
in interface IBezierCurve
controlPoints
- 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 putCoords(int numPoints, IPoint controlPoints) throws java.io.IOException, AutomationException
putCoords
in interface IBezierCurve
numPoints
- The numPoints (in)controlPoints
- 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 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 boolean isLine() throws java.io.IOException, AutomationException
isLine
in interface IBezierCurve2
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getParameter(double distanceAlongCurve, boolean asRatio) throws java.io.IOException, AutomationException
getParameter
in interface IBezierCurve3
distanceAlongCurve
- The distanceAlongCurve (in)asRatio
- The asRatio (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 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 constructTangentsAtEndpoints(ILine pTangentAtFrom, ILine pTangentAtTo) throws java.io.IOException, AutomationException
constructTangentsAtEndpoints
in interface IConstructBezierCurve
pTangentAtFrom
- A reference to a com.esri.arcgis.geometry.ILine (in)pTangentAtTo
- 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 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.