org.robokind.api.interpolation.cspline
Class CSplineSegment
java.lang.Object
org.robokind.api.interpolation.cspline.CSplineSegment
public class CSplineSegment
- extends Object
A CSplineSegment is a CSpline interpolation of 4 points. A CSpline with more
points is created as a set of overlapping CSplineSegments.
- Author:
- Matthew Stevenson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CSplineSegment
public CSplineSegment(List<Point2D> points)
- Creates a new CSplineSegment using the given points.
- Parameters:
points
- exactly 4 Points for defining the segment
getInterpolatedPoints
public List<Point2D> getInterpolatedPoints()
- Returns a List of interpolated point for the curve between the middle two
points.
- Returns:
- List of interpolated point for the curve between the middle two
points
Copyright © 2011-2013. All Rights Reserved.