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.
 
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)
 Computes the validation properties of the model.
 
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.

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.

See also
BoundingBox, SurfaceArea, Volume

Member Function Documentation

◆ Compute() [1/4]

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

Computes the validation properties of the body.

◆ Compute() [2/4]

static cadex.Measurements.ValidationPropertyData cadex.Measurements.ValidationProperties.Compute ( cadex.ModelData.Model theModel)
inlinestatic

Computes the validation properties of the model.

◆ Compute() [3/4]

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

Computes the validation properties of the model element.

◆ Compute() [4/4]

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

Computes the validation properties of the shape.

◆ ComputeCentroid() [1/4]

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

Computes the center of mass of the body.

◆ ComputeCentroid() [2/4]

static cadex.Geom.Point cadex.Measurements.ValidationProperties.ComputeCentroid ( cadex.ModelData.Model theModel)
inlinestatic

Computes the center of mass of the model.

◆ ComputeCentroid() [3/4]

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

Computes the center of mass of the model element.

◆ ComputeCentroid() [4/4]

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

Computes the center of mass of the shape.