Skip to main content

get-implicit-form1-exact

function getImplicitForm1Exact(ps: number[][]): object | undefined

Defined in implicit-form/exact/get-implicit-form1-exact.ts:29

Returns the exact implicit form of the given linear bezier curve (a line segment) or undefined if the line degenerates to a point.

  • returned coefficients are subscripted to match their monomial's variables, e.g. vₓᵧ is the coefficient of the monomial vₓᵧxy
  • returned coefficients are given exactly as Shewchuk expansions
  • the implicit form is given by: vₓx + vᵧy + v = 0
  • adapted from Indrek Mandre
Note!
Green circles are draggable!
0

Parameters:

NameTypeDescription
psnumber[][]