Module curve_2d

Procs

proc bakeInterval*(self: Curve2D): float64 {.
gcsafe, locks: 0
.}
proc `bakeInterval =`*(self: Curve2D; val: float64) {.
gcsafe, locks: 0
.}
proc data*(self: Curve2D): int64 {.
gcsafe, locks: 0
.}
proc `data =`*(self: Curve2D; val: int64) {.
gcsafe, locks: 0
.}
proc getPointCount*(self: Curve2D): int64 {.
gcsafe, locks: 0
.}
proc addPoint*(self: Curve2D; pos: Vector2; inn: Vector2 = vec2(0.0, 0.0);
              outt: Vector2 = vec2(0.0, 0.0); atpos: int64 = - 1'i64) {.
gcsafe, locks: 0
.}
proc setPointPos*(self: Curve2D; idx: int64; pos: Vector2) {.
gcsafe, locks: 0
.}
proc getPointPos*(self: Curve2D; idx: int64): Vector2 {.
gcsafe, locks: 0
.}
proc setPointIn*(self: Curve2D; idx: int64; pos: Vector2) {.
gcsafe, locks: 0
.}
proc getPointIn*(self: Curve2D; idx: int64): Vector2 {.
gcsafe, locks: 0
.}
proc setPointOut*(self: Curve2D; idx: int64; pos: Vector2) {.
gcsafe, locks: 0
.}
proc getPointOut*(self: Curve2D; idx: int64): Vector2 {.
gcsafe, locks: 0
.}
proc removePoint*(self: Curve2D; idx: int64) {.
gcsafe, locks: 0
.}
proc clearPoints*(self: Curve2D) {.
gcsafe, locks: 0
.}
proc interpolate*(self: Curve2D; idx: int64; t: float64): Vector2 {.
gcsafe, locks: 0
.}
proc interpolatef*(self: Curve2D; fofs: float64): Vector2 {.
gcsafe, locks: 0
.}
proc getBakedLength*(self: Curve2D): float64 {.
gcsafe, locks: 0
.}
proc interpolateBaked*(self: Curve2D; offset: float64; cubic: bool = false): Vector2 {.
gcsafe, locks: 0
.}
proc getBakedPoints*(self: Curve2D): PoolVector2Array {.
gcsafe, locks: 0
.}
proc tessellate*(self: Curve2D; maxStages: int64 = 5'i64;
                toleranceDegrees: float64 = 4.0): PoolVector2Array {.
gcsafe, locks: 0
.}