CylinderFAxo

References
public struct CylinderFAxo
Represents an upright cylinder in axonometric projection.

Constructors

CylinderFAxo

#
Create a new cylinder.
public CylinderFAxo(
RectangleF
bounds,
Bounds for entire cylinder.
shortening
Normalised shortening factor. Zero means cylinder is viewed side-on, one represents fully circular top and bottom faces. The shortening is automatically adjusted to ensure the cylinder does not exceed the bounds.
)

Properties

AxisLower

#
Gets the point at the bottom of the central axis.
public PointF AxisLower { get; }

AxisUpper

#
Gets the point at the top of the central axis.
public PointF AxisUpper { get; }

Bounds

#
Gets the bounds of the cylinder.
public RectangleF Bounds { get; }

FaceLower

#
Gets the bounds of the cylinder bottom face.
public RectangleF FaceLower { get; }

FaceUpper

#
Gets the bounds of the cylinder top face.
public RectangleF FaceUpper { get; }

Height

#
Gets the height of the cylinder.
public float Height { get; }

Radius

#
Gets the radius of the cylinder.
public float Radius { get; }

Shortening

#
Gets the normalised shortening of the top and bottom ellipses.
public float Shortening { get; }

Methods

PointAt

#
Get a point in normalised polar coordinates.
public PointF PointAt(
angle,
Angle in radians.
radius,
Normalised radius, i.e. 1.0 equals radius of cylinder.
elevation
Normalised elevation, i.e. 1.0 equals the top of the cylinder.
)