Declaration
public static VertexInfo[][] Annulus(
double innerRadius,
double outerRadius,
int revSteps = 20,
bool reverse = false
)
Summary
Generates a flat annulus, or filled circle with a hole, sitting on the x/z plane. Use
Md.Rotate(this IEnumerable<VertexInfo[]>, Pt, Pt, double) to orientate it any other way. Can also be used
to generate a regular polygon outline by using a small value of
revSteps.
Parameters
double | innerRadius |
Radius of the hole in the annulus. |
double | outerRadius |
Radius of the outer perimeter of the annulus. |
int | revSteps |
Number of steps of revolution. Higher numbers make the model look smoother but generate more data. |
bool | reverse |
If true , the faces are generated clockwise instead of counter-clockwise. |
Returns
A collection of faces.