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

Computes validation properties of objects. More...

Inherits global.SystemIDisposable.

Public Member Functions

 ValidationProperties (global::System.IntPtr cPtr, bool cMemoryOwn)
 
void Dispose ()
 

Static Public Member Functions

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

Protected Member Functions

virtual void Dispose (bool disposing)
 

Detailed Description

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.

See also
BoundingBox, SurfaceArea, Volume