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

Computes surface area of the 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. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
static double Compute (const ModelData::Body &theBody)
 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.
 
static double Compute (const ModelData::Shape &theShape)
 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.
 

Detailed Description

Computes surface area of the 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 computed. For instance, surface area cannot be computed for wireframe bodies.