BoxFAxo

References
public readonly struct BoxFAxo
Represents an axonometric, three-dimensional box inside a rectangle.

Constructors

BoxFAxo

#
Create a new box.
public BoxFAxo(
RectangleF
bounds,
Two dimensional boundary of box.
depth
Depth of box as a normalised factor.
)

Properties

Bounds

#
Gets the two-dimensional boundary.
public RectangleF Bounds { get; }

Depth

#
Gets the normalised depth factor.
public float Depth { get; }

IsEmpty

#
Gets whether this box has been properly initialized and whether the bounds are not zero.
public bool IsEmpty { get; }

Indexers

this[]

#
Gets one of the box corner points.
public PointF this[
index
Corners index.

0 = lower left front.

1 = lower right front.

2 = lower right back.

3 = lower left back.

4 = upper left front.

5 = upper right front.

6 = upper right back.

7 = upper left back.

] { get; }
Point at corner.

Methods

PointAt

#
Gets the 2D point at the given coordinate.
public PointF PointAt(
x,
Normalised x coordinate.
y,
Normalised y coordinate.
z
Normalised z coordinate.
)
Projected two-dimensional point.

XSliceAt

#
Gets the 2D isometric rectangular slice at the given x coordinate.
public PointF[] XSliceAt(
x
Normalised x coordinate.
)
Array of four corner points.

YSliceAt

#
Gets the 2D rectangular slice at the given y coordinate.
public RectangleF YSliceAt(
y
normalised y coordinate.
)
Projected two-dimensional rectangle.

ZSliceAt

#
Gets the 2D isometric rectangular slice at the given z coordinate.
public PointF[] ZSliceAt(
z
Normalised z coordinate.
)
Array of four corner points.