Cubic

semagrams.util.Path$.Element$.Cubic
final case class Cubic(cs: Complex, ce: Complex, p: Complex)

Members list

Concise view

Value members

Inherited methods

def dir(z0: Complex, t: Double): Complex

The direction of the derivative at time t of the path.

The direction of the derivative at time t of the path.

Attributes

Todo:

this should be computed analytically

Inherited from:
Element
def pos(z0: Complex, t: Double): Complex

Compute the position at "time" t along this path element

Compute the position at "time" t along this path element

Attributes

t

the "time", which should be within [0,1]

z0

the start of the path element

Inherited from:
Element
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def toSvg: String

Construct the SVG string representation of a path element

Construct the SVG string representation of a path element

Attributes

Inherited from:
Element