public abstract class Curve extends Figure
| Constructor and Description | 
|---|
Curve()  | 
| Modifier and Type | Method and Description | 
|---|---|
abstract double | 
getAngleSubtended()
Gets the angle subtended by the curve. 
 | 
abstract Cartesian | 
getFinalPoint()
Gets the final point of the curve. 
 | 
abstract Cartesian | 
getInitialPoint()
Gets the initial point of the curve. 
 | 
ArrayList<PointOnCurve> | 
getPoints(double granularity)
Provides a collection of points along the curve at the requested granularity. 
 | 
abstract Cartesian | 
interpolateUsingAngleSubtended(double angle)
 | 
abstract Cartesian | 
interpolateUsingFraction(double fraction)
 | 
getIsConnectedpublic abstract double getAngleSubtended()
The value of the angle subtended may not represent an angular measure from a consistent vertex. For simple curves, it is an angular measure determined from a vertex in a space convenient for expressing points on the curve. For complex curves, it is the sum of the angles subtended by each of the constituent curves.
@Nonnull public abstract Cartesian getInitialPoint()
@Nonnull public abstract Cartesian interpolateUsingFraction(double fraction)
InitialPoint (get) and FinalPoint (get).
 
    The value of the fraction parameter should range between 0.0 and 1.0.
fraction - The portion of the distance along the curve.@Nonnull public abstract Cartesian interpolateUsingAngleSubtended(double angle)
InitialPoint (get) and FinalPoint (get).
 
    The value of the angle parameter should range between 0.0 and
    AngleSubtended (get).
angle - The angle from the initial point.@Nonnull public ArrayList<PointOnCurve> getPoints(double granularity)