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

Aggregates all validation properties that can be computed. More...

Inherits global.SystemIDisposable.

Public Member Functions

 ValidationPropertyData (global::System.IntPtr cPtr, bool cMemoryOwn)
 
void Dispose ()
 
double Volume ()
 Returns a volume.
 
double SurfaceArea ()
 Returns a surface area.
 
cadex.Geom.Point Centroid ()
 Returns a center of mass.
 
cadex.Geom.Direction FirstAxisOfInertia ()
 Returns a first axis of inertia.
 
cadex.Geom.Direction SecondAxisOfInertia ()
 Returns a second axis of inertia.
 
cadex.Geom.Direction ThirdAxisOfInertia ()
 Returns a third axis of inertia.
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Detailed Description

Aggregates all validation properties that can be computed.

This class was introduced to compute all validation properties (volume, surface area, COG, axes of inertia) at once. This helps to improve performance compared to computing each property separately.

See also
ValidationProperties.

Member Function Documentation

◆ Centroid()

cadex.Geom.Point cadex.Measurements.ValidationPropertyData.Centroid ( )
inline

Returns a center of mass.

◆ FirstAxisOfInertia()

cadex.Geom.Direction cadex.Measurements.ValidationPropertyData.FirstAxisOfInertia ( )
inline

Returns a first axis of inertia.

◆ SecondAxisOfInertia()

cadex.Geom.Direction cadex.Measurements.ValidationPropertyData.SecondAxisOfInertia ( )
inline

Returns a second axis of inertia.

◆ SurfaceArea()

double cadex.Measurements.ValidationPropertyData.SurfaceArea ( )
inline

Returns a surface area.

◆ ThirdAxisOfInertia()

cadex.Geom.Direction cadex.Measurements.ValidationPropertyData.ThirdAxisOfInertia ( )
inline

Returns a third axis of inertia.

◆ Volume()

double cadex.Measurements.ValidationPropertyData.Volume ( )
inline

Returns a volume.