openrndr / org.openrndr.math / CatmullRom2

CatmullRom2

class CatmullRom2 (source)

Constructors

<init>

CatmullRom2(p0: Vector2, p1: Vector2, p2: Vector2, p3: Vector2, alpha: Double = 0.5)

Properties

alpha

val alpha: Double

p0

val p0: Vector2

p1

val p1: Vector2

p2

val p2: Vector2

p3

val p3: Vector2

t0

val t0: Double

t1

val t1: Double

t2

val t2: Double

t3

val t3: Double

Functions

position

fun position(rt: Double): Vector2