Click or drag to resize

CylinderTriangulatorCompute Method (Double, Double)

Computes the triangulation for a cylinder 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(
	double length,
	double radius
)

Parameters

length
Type: SystemDouble
The length, in meters, of the cylinder along the z axis.
radius
Type: SystemDouble
The radius, in meters, of the cylinder.

Return Value

Type: SolidTriangulatorResult
A SolidTriangulatorResult object representing the triangulation.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionlength must be greater than or equal to 0.
ArgumentOutOfRangeExceptionradius must be greater than 0.
See Also