Table of Contents

Method SurfaceArea

Namespace
GeometryHelper.Core
Assembly
GeometryHelper.dll

SurfaceArea(GeoSolid3, AreaMethod)

Gets the area of where a body's material ends by a method, using the default tolerance.

public static double SurfaceArea(GeoSolid3 solid, AreaMethod method)

Parameters

solid GeoSolid3
method AreaMethod

Returns

double

SurfaceArea(GeoSolid3, AreaMethod, Tolerance)

Gets the area of where a body's material ends by a method: its openings cut in first, their walls included.

public static double SurfaceArea(GeoSolid3 solid, AreaMethod method, Tolerance tolerance)

Parameters

solid GeoSolid3

The body.

method AreaMethod

How the faces are read.

tolerance Tolerance

The tolerance the openings are cut in and the faces broken into triangles within.

Returns

double

The area; nought where the openings take all of the body.

Exceptions

ArgumentNullException

Thrown when the body is null.

ArgumentOutOfRangeException

Thrown when the method is not one of AreaMethod.