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