Click or drag to resize

BoxTriangulatorCompute Method

Computes the triangulation for a box of the specified size, centered at the origin.

Namespace:  AGI.Foundation.Geometry.Discrete
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public static SolidTriangulatorResult Compute(
	Cartesian size
)

Parameters

size
Type: AGI.Foundation.CoordinatesCartesian
The size, in meters, along each axis of the box.

Return Value

Type: SolidTriangulatorResult
A SolidTriangulatorResult object representing the triangulation.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionsize.x, size.y, and size.z must all be greater than or equal to 0.
See Also