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
solidGeoSolid3methodAreaMethod
Returns
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
solidGeoSolid3The body.
methodAreaMethodHow the faces are read.
toleranceToleranceThe 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.