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 the body.
 
static double Compute (const ModelData::Shape &theShape)
 Computes the surface area of the shape.
 

Detailed Description

Computes the surface area of objects.

The surface area can be computed either for an entire model or for any assembly/part/instance, body or 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 the body.

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

◆ 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.

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

◆ Compute() [4/4]

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

Computes the surface area of the shape.

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.