Havn
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 42
  • 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
  • File formats 4
  • 2D curves with ids 9

Nothing in Kernel matches.

Docs/ Kernel/ Meshes

mesh.area

Total surface area of the mesh.

GeometricSince 0.3.0

Usage

TypeScript
mesh.area(): number

Returns

The sum of the face areas, in model units squared.

Guarantees

  • equals the sum of faceArea(f) over all faces
  • The same result on every machine.

Example

TypeScript
Mesh.box().value.area() // → 6

See also

  • mesh.volume
Previousmesh.faceArea Nextmesh.volume

On this page

  1. Usage
  2. Returns
  3. Guarantees
  4. Example
  5. See also
  1. Usage
  2. Returns
  3. Guarantees
  4. Example
  5. See also
Havn