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

Computes validation properties of the objects. More...

#include <cadex/Measurements/ValidationProperties.hxx>

Static Public Member Functions

static Geom::Point ComputeCentroid (const ModelData::Model &theModel)
 Computes the center of mass of the model.
 
static Geom::Point ComputeCentroid (const ModelData::ModelElement &theModelElement)
 Computes the center of mass 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 Geom::Point ComputeCentroid (const ModelData::Body &theBody)
 Computes the center of mass 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 Geom::Point ComputeCentroid (const ModelData::Shape &theShape)
 Computes the center of mass 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.
 
static ValidationPropertyData Compute (const ModelData::Model &theModel)
 Computes validation properties of the model.
 
static ValidationPropertyData Compute (const ModelData::ModelElement &theModelElement)
 Computes validation properties 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 ValidationPropertyData Compute (const ModelData::Body &theBody)
 Computes validation properties 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 ValidationPropertyData Compute (const ModelData::Shape &theShape)
 Computes validation properties 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 validation properties of the objects.

The properties can be computed either for an entire model or for any assembly/part/instance, body or shape.

Depending on the object contents some validation properties cannot be computed. For instance, volume cannot be computed for sheet bodies, surface area cannot be computed for wireframe bodies.

See also
BoundingBox, SurfaceArea, Volume