-
Get point on curve for given parameter
Declaration
Swift
func point(_ t: Float) -> WorldCoordinate
-
Get points on curve for given list of parameters
Declaration
Swift
func points(_ ts: [NSNumber]) -> [WorldCoordinate]
-
Get
segmentsNumber + 1
points that are uniformly distributed along the curveDeclaration
Swift
func points(withSegmentsNumber segmentsNumber: UInt) -> [WorldCoordinate]
-
Get derivative for curve at point with given parameter
Declaration
Swift
func derivative(_ t: Float) -> WorldCoordinate
-
Get derivatives for curve at points with given parameters
Declaration
Swift
func derivatives(_ ts: [NSNumber]) -> [WorldCoordinate]
-
Get array of control points
Declaration
Swift
func controlPoints() -> [WorldCoordinate]
-
Fit best curve for given set of points
Declaration
Swift
class func fitCurve(_ points: [WorldCoordinate]) -> BezierCubic3D