Skip to content

Shapemetry API


Shapemetry API / MassProperties

Interface: MassProperties

Defined in: nurbsBrep/topo/query.ts:38

Full mass properties of a solid (uniform density = 1). The inertia tensor is the 3x3 symmetric tensor about the center of mass, laid out as [[Ixx, -Ixy, -Ixz], [-Ixy, Iyy, -Iyz], [-Ixz, -Iyz, Izz]].

Properties

volume

volume: number

Defined in: nurbsBrep/topo/query.ts:39


surfaceArea

surfaceArea: number

Defined in: nurbsBrep/topo/query.ts:40


centerOfMass

centerOfMass: Point

Defined in: nurbsBrep/topo/query.ts:41


inertiaTensor

inertiaTensor: [[number, number, number], [number, number, number], [number, number, number]]

Defined in: nurbsBrep/topo/query.ts:42