get-implicit-form2-exact
function getImplicitForm2Exact(ps: number[][]): object | object | undefined
Defined in implicit-form/exact/get-implicit-form2-exact.ts:33
Returns the exact implicit form of the given quadratic 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ₓᵧxy + vᵧᵧy² + vₓx + vᵧy + v = 0
- adapted from Indrek Mandre
Note!
Green circles are draggable!
Parameters:
Name | Type | Description |
---|---|---|
ps | number[][] |