Represents a two-dimensional rectangular box defined by two points: a lower-left point and an upper-right point. This class extends the generic Box class specialized for two-dimensional vectors (Vec2).
Represents a four-dimensional bounding box defined by two Vec4 points. This class extends the abstract class Box, which provides common functionality for multi-dimensional bounding boxes. The box is defined by its lower and upper bounds in 4D space.
Determines the sign of the given double value. Returns -1.0 if the value is negative, 1.0 if the value is positive, and the value itself if it is either 0.0 or NaN.