Module curve_2d

Procs

proc bakeInterval(self: Curve2D): float64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc bakeInterval=(self: Curve2D; val: float64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc data(self: Curve2D): Dictionary {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc data=(self: Curve2D; val: Dictionary) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getPointCount(self: Curve2D): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addPoint(self: Curve2D; position: Vector2; inn: Vector2 = vec2(0.0, 0.0);
             outt: Vector2 = vec2(0.0, 0.0); atPosition: int64 = -1'i64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setPointPosition(self: Curve2D; idx: int64; position: Vector2) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getPointPosition(self: Curve2D; idx: int64): Vector2 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setPointIn(self: Curve2D; idx: int64; position: Vector2) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getPointIn(self: Curve2D; idx: int64): Vector2 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setPointOut(self: Curve2D; idx: int64; position: Vector2) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getPointOut(self: Curve2D; idx: int64): Vector2 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc removePoint(self: Curve2D; idx: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc clearPoints(self: Curve2D) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc interpolate(self: Curve2D; idx: int64; t: float64): Vector2 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc interpolatef(self: Curve2D; fofs: float64): Vector2 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getBakedLength(self: Curve2D): float64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc interpolateBaked(self: Curve2D; offset: float64; cubic: bool = false): Vector2 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getBakedPoints(self: Curve2D): PoolVector2Array {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc getClosestPoint(self: Curve2D; toPoint: Vector2): Vector2 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getClosestOffset(self: Curve2D; toPoint: Vector2): float64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc tessellate(self: Curve2D; maxStages: int64 = 5'i64;
               toleranceDegrees: float64 = 4.0): PoolVector2Array {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}