Bezier

indigo.shared.geometry.Bezier$package.Bezier
object Bezier

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Bezier.type

Members list

Value members

Concrete methods

inline def apply(vertices: Batch[Vertex]): Bezier
inline def apply(start: Vertex, vertices: Vertex*): Bezier
def atUnspecialised(bezier: Bezier, unitInterval: Double): Vertex

Calculate the position of a Bezier curve using the same calculation method regardless of vertex count.

Calculate the position of a Bezier curve using the same calculation method regardless of vertex count.

Attributes

def fromPoints(vertices: Batch[Vertex]): Option[Bezier]
def interpolate(a: Vertex, b: Vertex, unitInterval: Double): Vertex
def pure(start: Vertex, vertices: Batch[Vertex]): Bezier
def reduce(vertices: Batch[Vertex], unitInterval: Double): Vertex

Deprecated methods

Attributes

Deprecated
true

Extensions

Extensions

extension (b: Bezier)
def at(unitInterval: Double): Vertex

Calculate the position of a Bezier curve using specialised calculations for linear, quadratic and cubic curves.

Calculate the position of a Bezier curve using specialised calculations for linear, quadratic and cubic curves.

Attributes

def toLineSegments(subdivisions: Int): Batch[LineSegment]
def toPolygon(subdivisions: Int): Polygon
def toSignal(duration: Seconds): Signal[Vertex]
def toVertices(subdivisions: Int): Batch[Vertex]