mapComponent Method
Pass the (x,y,z) of each point to a function which returns a replacement for one of the 3 components.
mapComponent(componentIndex: "0" | "1" | "2", func: (x: number, y: number, z: number) => number): void
Returns - void
Defined in
- geometry3d/GrowableXYZArray.ts Line 1040
Last Updated: 14 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.