Computes the surface area of supported model data objects.
Surface area can be computed for an entire model, a model element, a body, a B-Rep shape, or an indexed triangle mesh shape. Depending on object contents, the surface area may not be computable. For example, wireframe geometry and non-triangle mesh shapes do not contribute a measurable area.
Returns -1 if no measurable surface area is found.
new SurfaceArea():
SurfaceArea
SurfaceArea
Computes the surface area of a supported object.
Object to analyze.
staticcompute(model):number
Computes the surface area of a model.
Model to analyze.
number
staticcompute(modelElement):number
Computes the surface area of a model element.
Model element to analyze.
number
staticcompute(body):number
Computes the surface area of a body.
Body to analyze.
number
staticcompute(shape):number
Computes the surface area of a B-Rep shape.
Shape to analyze.
number
staticcompute(meshShape):number
Computes the surface area of a mesh shape.
Mesh shape to analyze.
number