openrndr / org.openrndr.math / CatmullRom3

CatmullRom3

class CatmullRom3 (source)

Constructors

<init>

CatmullRom3(p0: Vector3, p1: Vector3, p2: Vector3, p3: Vector3, alpha: Double = 0.5)

Properties

alpha

val alpha: Double

p0

val p0: Vector3

p1

val p1: Vector3

p2

val p2: Vector3

p3

val p3: Vector3

t0

val t0: Double

t1

val t1: Double

t2

val t2: Double

t3

val t3: Double

Functions

position

fun position(rt: Double): Vector3

Extension Functions

toSegment

fun CatmullRom3.toSegment(): Segment3D