get-implicit-form3-exact
function getImplicitForm3Exact(ps: number[][]): object | object | object | undefined
Defined in implicit-form/exact/get-implicit-form3-exact.ts:36
Returns the exact implicit form of the given cubic bezier curve
or undefined
if the curve degenerates to a point.
- returned coefficients are subscripted to match their monomial's variables,
e.g.
vₓᵧ
is the coefficient of the monomialvₓᵧxy
- returned coefficients are given exactly as Shewchuk expansions
- the implicit form is given by:
vₓₓₓx³ + vₓₓᵧx²y + vₓᵧᵧxy² + vᵧᵧᵧy³ + vₓₓx² +vₓᵧxy + vᵧᵧy² + vₓx + vᵧy + v = 0
- adapted from Indrek Mandre
Note!
Green circles are draggable!
Parameters:
Name | Type | Description |
---|---|---|
ps | number[][] |