Table of Contents

Struct FixedBoundCircle.BoundingCircleState

Namespace
FixedMathSharp.Geometry
Assembly
FixedMathSharp.dll

Represents the normalized serializable state of a two-dimensional circular bound.

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

Constructors

BoundingCircleState(Vector2d, Fixed64)

Initializes a normalized state from center and radius.

[JsonConstructor]
public BoundingCircleState(Vector2d center, Fixed64 radius)

Parameters

center Vector2d
radius Fixed64

Fields

Center

The center point of the circle.

[JsonInclude]
[MemoryPackInclude]
public readonly Vector2d Center

Field Value

Vector2d

Radius

The non-negative radius of the circle. Assigned values are normalized by absolute value.

[JsonInclude]
[MemoryPackInclude]
public readonly Fixed64 Radius

Field Value

Fixed64