Skip to main content

get-implicit-form1-dd

function getImplicitForm1Dd(ps: number[][]): object

Defined in implicit-form/double-double/get-implicit-form1-dd.ts:26

Returns a double-double precision implicit form of the given linear bezier curve. Returned coefficients are subscripted to match their monomial's variables, e.g. vₓᵧ is the coefficient of the monomial vₓᵧxy

  • the implicit form is given by: vₓx + vᵧy + v = 0
  • intermediate calculations are performed in double-double precision
  • adapted from Indrek Mandre
Note!
Green circles are draggable!
0

Parameters:

NameTypeDescription
psnumber[][]a line segment given as an array of its control points, e.g. [[1,2],[3,4]]

Returns: object

NameType
vₓnumber[]
vᵧnumber[]
vnumber[]