public class EllipticArc extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IEllipticArc, IGeometry, ITransform2D, ICurve, ICurve2, ICurve3, ISegment, IConstructEllipticArc, IProximityOperator, ISupportErrorInfo, IClone, ISegmentM, ISegmentZ, ISegmentID
Description 'A portion of the boundary of a 2D ellipse that connects 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, IIDfa44c5f5_16c6_11d2_aa7a_00c04fa37ba4, xxDummyIID, IID3be78ad0_886e_11d1_bc78_0000f875bcce, xxDummyIID, IIDea7ab50b_1a9d_11d6_9fa9_00c04f6bdf0d, xxDummyIID058def33_2848_11d4_9f82_00c04f6bc8e8IID1b077916_38c5_11d0_92d2_00805f7c28b0IID1b07790d_38c5_11d0_92d2_00805f7c28b0IID, IIDf2c4f0de_c5ae_11d0_8307_0000f8034032, xxDummyIID, IIDb12317d5_16d7_11d2_aa7a_00c04fa37ba4, xxDummyIID, IID1b07790f_38c5_11d0_92d2_00805f7c28b0, xxDummyIID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummyIID, IID9bff8aeb_e415_11d0_943c_080009eebecb, xxDummyIID, IID48cf4c91_e3d5_11d2_9f2e_00c04f6bdf0d, xxDummyIID, IID61b43a4b_e3d5_11d2_9f2e_00c04f6bdf0d, xxDummyIID, IID703052bd_25f1_11d3_9f3f_00c04f6bdf0d, xxDummy| Constructor and Description |
|---|
EllipticArc()
Constructs a EllipticArc using ArcGIS Engine.
|
EllipticArc(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
EllipticArc theEllipticArc = (EllipticArc) obj; |
| Modifier and Type | Method and Description |
|---|---|
void |
assign(IClone src)
Assigns the properties of src to the receiver.
|
void |
complement()
Changes this ellipse into its complement; 'from' and 'to' points are unchanged.
|
void |
constructEnvelope(IEnvelope boundingEnvelope)
Constructs the inscribed ellipse of the given envelope.
|
void |
constructQuarterEllipse(IPoint fromPoint,
IPoint toPoint,
boolean cCW)
Construct an elliptic arc that starts at fromPoint, goes to toPoint, and spans an angle of pi/2.
|
void |
constructTwoPointsEnvelope(IPoint fromPoint,
IPoint toPoint,
IEnvelope suggestedEnvelope,
int orientation)
Construct an elliptic arc that starts at fromPoint, goes to toPoint, and tries to have the embedded ellipse inscribed in the suggestedEnvelope.
|
void |
constructUpToFivePoints(IPoint from,
IPoint to,
IPoint thru,
IPoint point4,
IPoint point5)
Constructs an elliptic arc, given up to 5 points, such that the embedded ellipse passes through as many as possible.
|
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.
|
void |
getAxes(double[] semiMajor,
double[] semiMinor,
double[] minorMajorRatio)
Gets the semi-major and semi-minor axes.
|
IPoint |
getCenterPoint()
The center point of the arc.
|
double |
getCentralAngle()
The included (or central) angle.
|
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.
|
double |
getFromAngle(boolean ellipseStd)
The start angle (measured from a horizontal line through the center point) defining where the arc starts.
|
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.
|
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.
|
double |
getToAngle(boolean ellipseStd)
The end angle (measured from a horizontal line through the center point) defining where the arc ends.
|
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 |
isCircular()
Indicates if this elliptical arc is acutally circular (major and minor axes same length).
|
boolean |
isClosed()
Indicates if 'from' and 'to' points (of each part) are identical.
|
boolean |
isCounterClockwise()
Indicates if this elliptic arc is oriented counter-clockwise from its 'from' point to its 'to' point.
|
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 arc is degenerated to a line.
|
boolean |
isMinor()
Indicates whether the arc is a minor arc or a major arc.
|
boolean |
isPoint()
Indicates if the arc is degenerated to a point.
|
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 |
putAxes(double semiMajor,
double minorMajorRatio)
Sets the semi-major and semi-minor axes.
|
void |
putCoords(boolean ellipseStd,
IPoint center,
IPoint from,
IPoint to,
double rotationAngle,
double minorMajorRatio,
int orientation)
Sets the center point and endpoints, angle of rotation, and orientation.
|
void |
putCoordsByAngle(boolean ellipseStd,
IPoint center,
double fromAngle,
double centralAngle,
double rotationAngle,
double semiMajor,
double minorMajorRatio)
Sets the center point, starting angle, signed central angle, angle of rotation, ratio of the minor axis to the major axis, and axes.
|
void |
putCoordsEx(IPoint from,
IPoint to)
Sets this segment's endpoints to 'from' and 'to'.
|
void |
queryCenterPoint(IPoint center)
Copies the center of this arc to the input point.
|
void |
queryCoords(boolean ellipseStd,
IPoint center,
IPoint from,
IPoint to,
double[] rotationAngle,
double[] minorMajorRatio,
boolean[] isCCW,
boolean[] minor)
Copies the center and endpoints, angle of rotation, orientation and major/minor properties into the method parameters.
|
void |
queryCoordsByAngle(boolean ellipseStd,
IPoint center,
double[] fromAngle,
double[] centralAngle,
double[] rotationAngle,
double[] semiMajor,
double[] minorMajorRatio)
Returns the center point, starting angle, signed central angle, angle of rotation, ratio of the minor axis to the major axis, and axes.
|
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 |
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 |
setCentralAngle(double centralAngle)
The included (or central) angle.
|
void |
setEmpty()
Removes all points from this geometry.
|
void |
setFromAngle(boolean ellipseStd,
double fromAngle)
The start angle (measured from a horizontal line through the center point) defining where the arc starts.
|
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 |
setIsCounterClockwise(boolean isCCW)
Indicates if this elliptic arc is oriented counter-clockwise from its 'from' point to its 'to' point.
|
void |
setIsMinor(boolean isMinor)
Indicates whether the arc is a minor arc or a major arc.
|
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 |
setToAngle(boolean ellipseStd,
double toAngle)
The end angle (measured from a horizontal line through the center point) defining where the arc ends.
|
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 EllipticArc()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problemsjava.net.UnknownHostException - if there are interop problemspublic EllipticArc(java.lang.Object obj)
throws java.io.IOException
EllipticArc theEllipticArc = (EllipticArc) obj;obj to EllipticArc.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 void queryCoords(boolean ellipseStd,
IPoint center,
IPoint from,
IPoint to,
double[] rotationAngle,
double[] minorMajorRatio,
boolean[] isCCW,
boolean[] minor)
throws java.io.IOException,
AutomationException
queryCoords in interface IEllipticArcellipseStd - The ellipseStd (in)center - A reference to a com.esri.arcgis.geometry.IPoint (in)from - A reference to a com.esri.arcgis.geometry.IPoint (in)to - A reference to a com.esri.arcgis.geometry.IPoint (in)rotationAngle - The rotationAngle (in/out: use single element array)minorMajorRatio - The minorMajorRatio (in/out: use single element array)isCCW - The isCCW (in/out: use single element array)minor - The minor (in/out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void putCoords(boolean ellipseStd,
IPoint center,
IPoint from,
IPoint to,
double rotationAngle,
double minorMajorRatio,
int orientation)
throws java.io.IOException,
AutomationException
putCoords in interface IEllipticArcellipseStd - The ellipseStd (in)center - A reference to a com.esri.arcgis.geometry.IPoint (in)from - A reference to a com.esri.arcgis.geometry.IPoint (in)to - A reference to a com.esri.arcgis.geometry.IPoint (in)rotationAngle - The rotationAngle (in)minorMajorRatio - The minorMajorRatio (in)orientation - A com.esri.arcgis.geometry.esriArcOrientation constant (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void queryCoordsByAngle(boolean ellipseStd,
IPoint center,
double[] fromAngle,
double[] centralAngle,
double[] rotationAngle,
double[] semiMajor,
double[] minorMajorRatio)
throws java.io.IOException,
AutomationException
queryCoordsByAngle in interface IEllipticArcellipseStd - The ellipseStd (in)center - A reference to a com.esri.arcgis.geometry.IPoint (in)fromAngle - The fromAngle (in/out: use single element array)centralAngle - The centralAngle (in/out: use single element array)rotationAngle - The rotationAngle (in/out: use single element array)semiMajor - The semiMajor (in/out: use single element array)minorMajorRatio - The minorMajorRatio (in/out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void putCoordsByAngle(boolean ellipseStd,
IPoint center,
double fromAngle,
double centralAngle,
double rotationAngle,
double semiMajor,
double minorMajorRatio)
throws java.io.IOException,
AutomationException
putCoordsByAngle in interface IEllipticArcellipseStd - The ellipseStd (in)center - A reference to a com.esri.arcgis.geometry.IPoint (in)fromAngle - The fromAngle (in)centralAngle - The centralAngle (in)rotationAngle - The rotationAngle (in)semiMajor - The semiMajor (in)minorMajorRatio - The minorMajorRatio (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IPoint getCenterPoint() throws java.io.IOException, AutomationException
getCenterPoint in interface IEllipticArcjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void queryCenterPoint(IPoint center) throws java.io.IOException, AutomationException
queryCenterPoint in interface IEllipticArccenter - 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 getAxes(double[] semiMajor,
double[] semiMinor,
double[] minorMajorRatio)
throws java.io.IOException,
AutomationException
getAxes in interface IEllipticArcsemiMajor - The semiMajor (in/out: use single element array)semiMinor - The semiMinor (in/out: use single element array)minorMajorRatio - The minorMajorRatio (in/out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void putAxes(double semiMajor,
double minorMajorRatio)
throws java.io.IOException,
AutomationException
putAxes in interface IEllipticArcsemiMajor - The semiMajor (in)minorMajorRatio - The minorMajorRatio (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public double getFromAngle(boolean ellipseStd)
throws java.io.IOException,
AutomationException
getFromAngle in interface IEllipticArcellipseStd - The ellipseStd (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setFromAngle(boolean ellipseStd,
double fromAngle)
throws java.io.IOException,
AutomationException
setFromAngle in interface IEllipticArcellipseStd - The ellipseStd (in)fromAngle - The fromAngle (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public double getToAngle(boolean ellipseStd)
throws java.io.IOException,
AutomationException
getToAngle in interface IEllipticArcellipseStd - The ellipseStd (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setToAngle(boolean ellipseStd,
double toAngle)
throws java.io.IOException,
AutomationException
setToAngle in interface IEllipticArcellipseStd - The ellipseStd (in)toAngle - The toAngle (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public double getCentralAngle()
throws java.io.IOException,
AutomationException
getCentralAngle in interface IEllipticArcjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setCentralAngle(double centralAngle)
throws java.io.IOException,
AutomationException
setCentralAngle in interface IEllipticArccentralAngle - The centralAngle (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isPoint()
throws java.io.IOException,
AutomationException
isPoint in interface IEllipticArcjava.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 IEllipticArcjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isCounterClockwise()
throws java.io.IOException,
AutomationException
isCounterClockwise in interface IEllipticArcjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setIsCounterClockwise(boolean isCCW)
throws java.io.IOException,
AutomationException
setIsCounterClockwise in interface IEllipticArcisCCW - The isCCW (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isMinor()
throws java.io.IOException,
AutomationException
isMinor in interface IEllipticArcjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setIsMinor(boolean isMinor)
throws java.io.IOException,
AutomationException
setIsMinor in interface IEllipticArcisMinor - The isMinor (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void complement()
throws java.io.IOException,
AutomationException
complement in interface IEllipticArcjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isCircular()
throws java.io.IOException,
AutomationException
isCircular in interface IEllipticArcjava.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 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 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 putCoordsEx(IPoint from, IPoint to) throws java.io.IOException, AutomationException
putCoordsEx in interface ICurve2from - 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 ICurve3extension - 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 ISegmentdistanceAlongCurve - 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 ISegmentotherSegment - 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 ISegmentdistances - 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 ISegmentoffset - 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 ISegmentcInSlots - 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 ISegmentsplitLongitude - The splitLongitude (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void constructEnvelope(IEnvelope boundingEnvelope) throws java.io.IOException, AutomationException
constructEnvelope in interface IConstructEllipticArcboundingEnvelope - 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 constructUpToFivePoints(IPoint from, IPoint to, IPoint thru, IPoint point4, IPoint point5) throws java.io.IOException, AutomationException
constructUpToFivePoints in interface IConstructEllipticArcfrom - A reference to a com.esri.arcgis.geometry.IPoint (in)to - A reference to a com.esri.arcgis.geometry.IPoint (in)thru - A reference to a com.esri.arcgis.geometry.IPoint (in)point4 - A reference to a com.esri.arcgis.geometry.IPoint (in)point5 - 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 constructQuarterEllipse(IPoint fromPoint, IPoint toPoint, boolean cCW) throws java.io.IOException, AutomationException
constructQuarterEllipse in interface IConstructEllipticArcfromPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)toPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)cCW - The cCW (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void constructTwoPointsEnvelope(IPoint fromPoint, IPoint toPoint, IEnvelope suggestedEnvelope, int orientation) throws java.io.IOException, AutomationException
constructTwoPointsEnvelope in interface IConstructEllipticArcfromPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)toPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)suggestedEnvelope - A reference to a com.esri.arcgis.geometry.IEnvelope (in)orientation - A com.esri.arcgis.geometry.esriArcOrientation 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 IProximityOperatorp - 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 IProximityOperatorp - 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 IProximityOperatorother - 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 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 getMs(double[] fromM,
double[] toM)
throws java.io.IOException,
AutomationException
getMs in interface ISegmentMfromM - 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 ISegmentMfromM - 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 ISegmentZfromZ - 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 ISegmentZfromZ - 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 ISegmentIDfromID - 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 ISegmentIDfromID - The fromID (in)toID - The toID (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.