Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
class CatmullRom2(val p0: Vector2, val p1: Vector2, val p2: Vector2, val p3: Vector2, val alpha: Double = 0.5)
Creates a 2D Catmull-Rom spline curve.
Link copied to clipboard
class CatmullRom3(val p0: Vector3, val p1: Vector3, val p2: Vector3, val p3: Vector3, val alpha: Double = 0.5)
Creates a 3D Catmull-Rom spline curve.
Link copied to clipboard
Calculates the 1D Catmull–Rom spline for a chain of points and returns the combined curve.
Link copied to clipboard
Calculates the 2D Catmull–Rom spline for a chain of points and returns the combined curve.
Link copied to clipboard
Calculates the 3D Catmull–Rom spline for a chain of points and returns the combined curve.
Functions
Link copied to clipboard
Link copied to clipboard
Converts chain to a ShapeContour.
Link copied to clipboard
Converts a 3D Catmull-Rom spline chain into a Path3D
representation.
Link copied to clipboard
Converts spline to a Segment.
Converts the current 3D Catmull-Rom spline segment into a cubic Bézier curve representation.