Skip to main content

get-abs-area-between

function getAbsAreaBetween(ps1: number[][], ps2: number[][]): number

Defined in fit/get-abs-area-between.ts:17

Returns the absolute area between the two given curves.

  • precondition: the first and last control points of each curve must be equal
  • precondition: neither curve should have self-intersections else the results are ambiguous
  • can be used as an excellent error measure of the similarity between the two curves
Note!
Green circles are draggable!
0

Parameters:

NameType
ps1number[][]
ps2number[][]