Class IfcQuantityCalculator
- Namespace
- IfcIO.Geometry
- Assembly
- IfcIO.dll
Computational geometry engine for calculating buildingSMART Base Quantities (QTO) directly from 3D polygon meshes and parametric solids.
public static class IfcQuantityCalculatorInheritance
Inherited Members
Methods
CalculateBaseQuantities(IfcElement)
Automatically calculates buildingSMART Base Quantities for an IFC element based on its 3D geometry.
public static IfcQuantitySet CalculateBaseQuantities(IfcElement element)Parameters
elementIfcElement
Returns
ComputeMeshSurfaceArea(IfcMesh)
Computes the total surface area of all polygon faces in a 3D mesh.
public static double ComputeMeshSurfaceArea(IfcMesh mesh)Parameters
meshIfcMesh
Returns
ComputeMeshVolume(IfcMesh)
Computes the signed/absolute enclosed volume of a 3D polygon triangle mesh using the divergence theorem.
public static double ComputeMeshVolume(IfcMesh mesh)Parameters
meshIfcMesh
Returns
ComputeProfileArea(IfcProfileDef)
Computes the 2D cross-sectional area of a profile definition.
public static double ComputeProfileArea(IfcProfileDef profile)Parameters
profileIfcProfileDef
Returns
ComputeProfilePerimeter(IfcProfileDef)
Computes the 2D perimeter of a profile definition.
public static double ComputeProfilePerimeter(IfcProfileDef profile)Parameters
profileIfcProfileDef