Table of Contents

Struct FixedBoundArea.BoundingAreaState

Namespace
FixedMathSharp.Geometry
Assembly
FixedMathSharp.dll

Represents the normalized serializable state of a two-dimensional axis-aligned bounding area.

[MemoryPackable(GenerateType.Object)]
public readonly struct FixedBoundArea.BoundingAreaState : IMemoryPackable<FixedBoundArea.BoundingAreaState>, IMemoryPackFormatterRegister
Implements
IMemoryPackFormatterRegister
Inherited Members

Constructors

BoundingAreaState(Vector2d, Vector2d)

Initializes a normalized state from minimum and maximum corners.

[JsonConstructor]
public BoundingAreaState(Vector2d min, Vector2d max)

Parameters

min Vector2d
max Vector2d

Fields

Max

The maximum corner of the area.

[JsonInclude]
[MemoryPackInclude]
public readonly Vector2d Max

Field Value

Vector2d

Min

The minimum corner of the area.

[JsonInclude]
[MemoryPackInclude]
public readonly Vector2d Min

Field Value

Vector2d