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.
Validation properties include volume, surface area, centroid, and axes of inertia. They can be computed for an entire model, a model graph element, a B-Rep body or shape.
Depending on the object contents, some computed values may be invalid. 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.
|
static |
Computes the validation properties of the model.
|
static |
Computes the validation properties of the model element.
|
static |
Computes the validation properties of the shape.
|
static |
Computes the center of mass of the body.
|
static |
Computes the center of mass of the model.
|
static |
Computes the center of mass of the model element.
|
static |
Computes the center of mass of the shape.