Table of Contents

Struct FixedBoundSphere.BoundingSphereState

Namespace
FixedMathSharp.Geometry
Assembly
FixedMathSharp.dll

Represents the normalized serializable state of a three-dimensional spherical bound.

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

Constructors

BoundingSphereState(Vector3d, Fixed64)

Initializes a normalized state from center and radius.

[JsonConstructor]
public BoundingSphereState(Vector3d center, Fixed64 radius)

Parameters

center Vector3d
radius Fixed64

Fields

Center

The center point of the sphere.

[JsonInclude]
[MemoryPackInclude]
public readonly Vector3d Center

Field Value

Vector3d

Radius

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

[JsonInclude]
[MemoryPackInclude]
public readonly Fixed64 Radius

Field Value

Fixed64