Box2F
Description
A two-dimensional bounding box with 32-bit floating-point precision.
The coordinates refer to infinitesimal points (pixel-is-point semantic).
Public / Constants
Public / Methods
CheckIntersection
3 overloads
Checks the intersection between this bounding box and the given one.
Checks the intersection between this bounding box and the given line segment.
Checks the intersection between this bounding box and the given line segment.
CheckIntersectionEdges
Checks the intersection between the edges of this bounding box and the given line segment.
Contains
3 overloads
Checks if this box contains the given point.
Checks if this box contains the given point.
Checks if this box contains the given box.
FromPoints
2 overloads
Creates a new instance of Box2F from the given corner points.
Creates a new instance of Box2F from the given corner points.
Public / Attributes
Area
Returns the volume of this bounding box.
The volume will always be 0
when IsEmpty returns true
.