Havn
PlatformLoreDocs Sign in
KernelBosonHintLore
  • Start here 2
  • Verbs and diagnostics 2
  • Foundations 78
  • Meshes 27
    • mesh.fromFaces
    • mesh.fromArrays
    • mesh.box
    • mesh.cylinder
    • mesh.face
    • mesh.point
    • mesh.boundingBox
    • mesh.faceNormal
    • mesh.faceArea
    • mesh.area
    • mesh.volume
    • mesh.validate
    • mesh.transformed
    • mesh.raycast
    • mesh.closestPoint
    • mesh.booleanUnion
    • mesh.booleanDifference
    • mesh.booleanIntersection
    • mesh.subdivide
    • mesh.extrudeFaces
    • mesh.insetFaces
    • mesh.toGeometry
    • mesh.toJSON
    • geometryKernel.loadGeometryKernel
    • geometryKernel.registerGeometryKernel
    • containment.containsPoints
    • geometryKernel.geometryKernelReady
  • 2D polygons and regions 39
  • NURBS curves and surfaces 28
  • Selectors and queries 3
  • Surface samples 6
  • Roles and lineage 5
  • Form facts and relations 2
  • Sources 4
  • Transforms and merge 4
  • Mesh edits 13

Nothing in Kernel matches.

Docs/ Kernel/ Meshes

mesh.boundingBox

The smallest axis-aligned box containing every point.

Value helperSince 0.3.0

Usage

TypeScript
mesh.boundingBox(): BBox

Returns

The box; BBox.empty for a mesh without points.

Example

TypeScript
BBox.diagonal(Mesh.box().value.boundingBox()) // → 1.732…
Previousmesh.point Nextmesh.faceNormal

On this page

  1. Usage
  2. Returns
  3. Example
  1. Usage
  2. Returns
  3. Example
Havn Platform Lore Docs