Table of Contents

Struct BoundsKey

Namespace
GridForge
Assembly
GridForge.dll

Exact identity key for a grid's snapped bounds.

public readonly struct BoundsKey : IEquatable<BoundsKey>
Implements
Inherited Members

Constructors

BoundsKey(Vector3d, Vector3d)

Exact identity key for a grid's snapped bounds.

public BoundsKey(Vector3d BoundsMin, Vector3d BoundsMax)

Parameters

BoundsMin Vector3d
BoundsMax Vector3d

Properties

BoundsMax

public Vector3d BoundsMax { get; init; }

Property Value

Vector3d

BoundsMin

public Vector3d BoundsMin { get; init; }

Property Value

Vector3d

Methods

Deconstruct(out Vector3d, out Vector3d)

public void Deconstruct(out Vector3d BoundsMin, out Vector3d BoundsMax)

Parameters

BoundsMin Vector3d
BoundsMax Vector3d

Equals(BoundsKey)

public bool Equals(BoundsKey other)

Parameters

other BoundsKey

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(BoundsKey, BoundsKey)

public static bool operator ==(BoundsKey left, BoundsKey right)

Parameters

left BoundsKey
right BoundsKey

Returns

bool

operator !=(BoundsKey, BoundsKey)

public static bool operator !=(BoundsKey left, BoundsKey right)

Parameters

left BoundsKey
right BoundsKey

Returns

bool