copyPointsAndWeights Method

Unpack the control points to a Point3d array and an array of weights.

copyPointsAndWeights(points: Point3d[], weights: number[], formatter: (x: number, y: number, z: number) => any...): void

Parameter Type Description
points Point3d[] output xyz, weighted by default formatter
weights number[] output weights
formatter (x: number, y: number, z: number) => any optional xyz formatter. By default, returns a Point3d of form [wx,wy,wz].

Returns - void

Defined in

Last Updated: 17 December, 2024