Skip to content

Function: findExtremeVertices() ​

findExtremeVertices(arr): object

Defined in: packages/core/src/scene-understanding/scene-understanding-system.ts:933

From a flat [x,y,z, x,y,z, ...] vertex buffer, return the source vertices with the smallest and largest coordinate sums.

Parameters ​

arr ​

Float32Array

Returns ​

object

maxEntry ​

maxEntry: Vec3

minEntry ​

minEntry: Vec3

Deprecated ​

This legacy helper does not calculate an axis-aligned bounding box. Use findAxisAlignedBounds for bounds and dimensions.

Privacy | Terms