Hide menu
Loading...
Searching...
No Matches
cadex::Measurements::SurfaceArea Class Reference

Computes the surface area of objects. More...

#include <cadex/Measurements/SurfaceArea.hxx>

Static Public Member Functions

static double Compute (const ModelData::Model &theModel)
 Computes the surface area of the model.
 
static double Compute (const ModelData::ModelElement &theModelElement)
 Computes the surface area of the model element.
 
static double Compute (const ModelData::Body &theBody)
 Computes the surface area of a solid or sheet body.
 
static double Compute (const ModelData::Shape &theShape)
 Computes the surface area of the shape.
 

Detailed Description

Computes the surface area of objects.

Surface area can be computed for an entire model, a model graph element (assembly/part/instance), a solid or sheet body, or a shape.

Depending on the object contents, the surface area may not be computable. For instance, surface area cannot be computed for wireframe bodies.

Member Function Documentation

◆ Compute() [1/4]

double cadex::Measurements::SurfaceArea::Compute ( const ModelData::Body & theBody)
static

Computes the surface area of a solid or sheet body.

◆ Compute() [2/4]

double cadex::Measurements::SurfaceArea::Compute ( const ModelData::Model & theModel)
static

Computes the surface area of the model.

◆ Compute() [3/4]

double cadex::Measurements::SurfaceArea::Compute ( const ModelData::ModelElement & theModelElement)
static

Computes the surface area of the model element.

◆ Compute() [4/4]

double cadex::Measurements::SurfaceArea::Compute ( const ModelData::Shape & theShape)
static

Computes the surface area of the shape.