import {MeshSurfaceArea} from '@xeokit/xeokit-sdk/src/viewer/scene/math/MeshSurfaceArea.js'MeshSurfaceArea
Calculates the surface area of triangle meshes.
Constructor Summary
| Public Constructor | ||
| public |
|
|
Member Summary
| Public Members | ||
| public |
indices: *[] |
|
| public |
|
|
| public |
|
|
| public get |
surfaceArea: number: * Gets the surface area of the mesh. |
|
| public |
vertices: *[] |
|
Method Summary
| Public Methods | ||
| public |
addIndex(index: *) Adds an index. |
|
| public |
addVertex(vertex: *) Adds a vertex. |
|
| public |
reset() Resets, ready to add vertices and indices for a new mesh. |
|
Reference
Source
