Function GeometrySingleton.buildCylinderPlanes
Returns an array of Plane
s closely bounding a faceted cylinder centered at the origin with radius radius
and height height
. The parameter sides
defines how many planes will be generated for the round part of the cylinder. The parameter axis
describes the axis along which the cylinder is oriented (0 for X, 1 for Y, 2 for Z).
Array buildCylinderPlanes
(
const(double) radius,
const(double) height,
const(long) sides,
const(long) axis = 2L
) nothrow @nogc;