• Preparing search index...
  • The search index is not available
@xeokit/sdk - v0.1.0
  • @xeokit/sdk
  • boundaries
  • points3ToAABB3

Function points3ToAABB3

  • points3ToAABB3(points: number[][], aabb?: FloatArrayParam): FloatArrayParam

    Computes the axis-aligned bounding box (AABB) enclosing a set of 3D points.

    Parameters

    • points: number[][]

      An array of 3D points [[x0, y0, z0], [x1, y1, z1], ...].

    • aabb: FloatArrayParam = ...

      The output AABB [minX, minY, minZ, maxX, maxY, maxZ]. Defaults to a new AABB.

    Returns FloatArrayParam

    The computed AABB.

    • Defined in packages/sdk/src/boundaries/index.ts:455

Settings

Member Visibility
@xeokit/sdk - v0.1.0
  • Loading...

Generated using TypeDoc