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

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

Member Function Documentation

◆ Compute() [1/3]

static cadex.Measurements.ValidationPropertyData cadex.Measurements.ValidationProperties.Compute ( cadex.ModelData.Body theBody)
inlinestatic

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.

◆ Compute() [2/3]

static cadex.Measurements.ValidationPropertyData cadex.Measurements.ValidationProperties.Compute ( cadex.ModelData.ModelElement theModelElement)
inlinestatic

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.

◆ Compute() [3/3]

static cadex.Measurements.ValidationPropertyData cadex.Measurements.ValidationProperties.Compute ( cadex.ModelData.Shape theShape)
inlinestatic

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.

◆ ComputeCentroid() [1/3]

static cadex.Geom.Point cadex.Measurements.ValidationProperties.ComputeCentroid ( cadex.ModelData.Body theBody)
inlinestatic

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.

◆ ComputeCentroid() [2/3]

static cadex.Geom.Point cadex.Measurements.ValidationProperties.ComputeCentroid ( cadex.ModelData.ModelElement theModelElement)
inlinestatic

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.

◆ ComputeCentroid() [3/3]

static cadex.Geom.Point cadex.Measurements.ValidationProperties.ComputeCentroid ( cadex.ModelData.Shape theShape)
inlinestatic

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.