com.esri.arcgis.geometry
Interface ICurve2
- All Superinterfaces:
- ICurve, IGeometry, java.io.Serializable
- All Known Subinterfaces:
- ICurve3
- All Known Implementing Classes:
- BezierCurve, CircularArc, EllipticArc, ICurve2Proxy, ICurve3Proxy, Line, Polyline
- public interface ICurve2
- extends ICurve, java.io.Serializable
Provides access to members that extend the functionality of one dimensional curves.
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Supported Platforms
Windows, Solaris, Linux
Description
ICurve2 extends Segment functionality to allow both endpoints to be set simultaneously. This allows the segment parameterization to be maintained when relocating both the From Point and the To Point.
| Methods inherited from interface com.esri.arcgis.geometry.ICurve |
getFromPoint, getLength, getSubcurve, getToPoint, isClosed, queryFromPoint, queryNormal, queryPoint, queryPointAndDistance, queryTangent, queryToPoint, reverseOrientation, setFromPoint, setToPoint |
| Methods inherited from interface com.esri.arcgis.geometry.IGeometry |
geoNormalize, geoNormalizeFromLongitude, getDimension, getEnvelope, getGeometryType, getSpatialReference, isEmpty, project, queryEnvelope, setEmpty, setSpatialReferenceByRef, snapToSpatialReference |
putCoordsEx
public void putCoordsEx(IPoint from,
IPoint to)
throws java.io.IOException,
AutomationException
- Sets this segment's endpoints to 'from' and 'to'.
Supported Platforms
Windows, Solaris, Linux
Description
PutCoordsEx allows both the fromPoint and the toPoint to be set simultaneously.
A Conformal Transformation based on the original points and the new points
is applied to the curve.
- Parameters:
from - A reference to a com.esri.arcgis.geometry.IPoint (in)to - A reference to a com.esri.arcgis.geometry.IPoint (in)
- Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.