Skip to content

cutPoint

cutPoint(point, decimalPlace): number[]

Cuts a point to a given decimal place

Parameters

point: number[]

The point to cut

decimalPlace: number= 2

The number of decimal places to keep

Returns

number[]

The cut point

Source

utils/shape-utils.ts:131