Skip to content

assertSamePoints

function assertSamePoints(a, b): void;

Defined in: core/vectors.ts:174

Assert that two datasets describe the same points.

ParameterType
aVectors
bVectors

void

import { assertSamePoints } from "@saehrimnir/sickle";
// Throws if the two sides describe different point counts, or fewer than 3.
assertSamePoints(data, projection);