Polynomial2D
class Polynomial2D
Constructors
constructor
public new Polynomial2Dx: Polynomialy: Polynomial: Polynomial2D
Parameters
Properties
c0
readonly public c0: Vector2Polynomial
c1
readonly public c1: Vector2Polynomial
c2
c3
x
readonly public x: Polynomial
y
readonly public y: Polynomial
Methods
differentiate
public differentiaten: number = 1: Polynomial2D
Parameters
n: number = 1
eval
public evalt: numberderivative: number = 0: Vector2
Parameters
t: number
derivative: number = 0
evalDerivative
Parameters
t: number
getBounds
public getBounds(): BBox
Calculate the tight axis-aligned bounds of the curve in the unit interval.
split
public splitu: number: Polynomial2DPolynomial2D
Parameters
u: number