Aggregates validation properties computed for an object. More...
Inherits global.SystemIDisposable.
Public Member Functions | |
| ValidationPropertyData (global::System.IntPtr cPtr, bool cMemoryOwn) | |
| void | Dispose () |
| bool | IsValid () |
| Returns wether the computed validation properties are valid. | |
| 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) |
Aggregates validation properties computed for an object.
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.
|
inline |
Returns a center of mass.
|
inline |
Returns a first axis of inertia.
|
inline |
Returns wether the computed validation properties are valid.
|
inline |
Returns a second axis of inertia.
|
inline |
Returns a surface area.
|
inline |
Returns a third axis of inertia.
|
inline |
Returns a volume.