sumTetrahedralVolumes MethodStatic
sum volumes of tetrahedra from origin to all facets.
- if origin is omitted, the first point encountered (by the visitor) is used as origin.
- If the mesh is closed, this sum is the volume.
- If the mesh is not closed, this sum is the volume of a mesh with various additional facets from the origin to facets.
sumTetrahedralVolumes(source: Polyface | PolyfaceVisitor, origin?: Point3d): number
Parameter | Type | Description |
---|---|---|
source | Polyface | PolyfaceVisitor | |
origin | Point3d |
Returns - number
Defined in
- polyface/PolyfaceQuery.ts Line 139
Last Updated: 20 June, 2023