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

Computes the surface area of objects. More...

Inherits global.SystemIDisposable.

Public Member Functions

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

Static Public Member Functions

static double Compute (cadex.ModelData.Model theModel)
 Computes the surface area of the model.
 
static double Compute (cadex.ModelData.ModelElement theModelElement)
 Computes the surface area of the model element.
 
static double Compute (cadex.ModelData.Body theBody)
 Computes the surface area of a solid or sheet body.
 
static double Compute (cadex.ModelData.Shape theShape)
 Computes the surface area of the shape.
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Detailed Description

Computes the surface area of objects.

Surface area can be computed for an entire model, a model graph element (assembly/part/instance), a solid or sheet body, or a shape.

Depending on the object contents, the surface area may not be computable. For instance, surface area cannot be computed for wireframe bodies.

Member Function Documentation

◆ Compute() [1/4]

static double cadex.Measurements.SurfaceArea.Compute ( cadex.ModelData.Body theBody)
inlinestatic

Computes the surface area of a solid or sheet body.

◆ Compute() [2/4]

static double cadex.Measurements.SurfaceArea.Compute ( cadex.ModelData.Model theModel)
inlinestatic

Computes the surface area of the model.

◆ Compute() [3/4]

static double cadex.Measurements.SurfaceArea.Compute ( cadex.ModelData.ModelElement theModelElement)
inlinestatic

Computes the surface area of the model element.

◆ Compute() [4/4]

static double cadex.Measurements.SurfaceArea.Compute ( cadex.ModelData.Shape theShape)
inlinestatic

Computes the surface area of the shape.