assertSamePoints
function assertSamePoints(a, b): void;Defined in: core/vectors.ts:174
Assert that two datasets describe the same points.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
a | Vectors |
b | Vectors |
Returns
Section titled “Returns”void
Example
Section titled “Example”import { assertSamePoints } from "@saehrimnir/sickle";
// Throws if the two sides describe different point counts, or fewer than 3.assertSamePoints(data, projection);