Struct FixedBoundBox.BoundingBoxState
- Namespace
- FixedMathSharp.Geometry
- Assembly
- FixedMathSharp.dll
Represents the state of a three-dimensional axis-aligned bounding box using its minimum and maximum coordinates.
[MemoryPackable(GenerateType.Object)]
public readonly struct FixedBoundBox.BoundingBoxState : IMemoryPackable<FixedBoundBox.BoundingBoxState>, IMemoryPackFormatterRegister
- Implements
-
IMemoryPackFormatterRegister
- Inherited Members
Remarks
The bounding box is defined by two points: the minimum and maximum corners in 3D space. This structure is immutable and can be used to describe spatial boundaries for geometric computations, collision detection, or spatial queries.
Constructors
BoundingBoxState(Vector3d, Vector3d)
Initializes a new instance of the BoundingBoxState class with the specified minimum and maximum coordinates.
[JsonConstructor]
public BoundingBoxState(Vector3d min, Vector3d max)
Parameters
Fields
Max
The maximum corner of the bounding box.
[JsonInclude]
[MemoryPackInclude]
public readonly Vector3d Max
Field Value
Min
The minimum corner of the bounding box.
[JsonInclude]
[MemoryPackInclude]
public readonly Vector3d Min