Table of Contents

Class CAaBox

Namespace
WoWLib.Formats.Common
Assembly
WoWLib.dll

An axis-aligned bounding box: minimum and maximum corners.

public class CAaBox : IDisposable
Inheritance
CAaBox
Implements
Inherited Members

Constructors

CAaBox()

public CAaBox()

CAaBox(C3Vector, C3Vector)

public CAaBox(C3Vector min, C3Vector max)

Parameters

min C3Vector
max C3Vector

CAaBox(CAaBox)

Copy-construct: a deep copy of other (the C++ copy constructor).

public CAaBox(CAaBox other)

Parameters

other CAaBox

Properties

Max

The maximum corner.

public C3Vector Max { get; set; }

Property Value

C3Vector

Min

The minimum corner.

public C3Vector Min { get; set; }

Property Value

C3Vector

Methods

Dispose()

Release the native object now. Optional: the finalizer releases it on collection anyway - dispose (or using) when you want native memory back promptly.

public virtual void Dispose()

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Reference-identity hash (the C++ type has no hash to mirror).

public override int GetHashCode()

Returns

int

Operators

operator ==(CAaBox?, CAaBox?)

public static bool operator ==(CAaBox? l, CAaBox? r)

Parameters

l CAaBox
r CAaBox

Returns

bool

operator !=(CAaBox?, CAaBox?)

public static bool operator !=(CAaBox? l, CAaBox? r)

Parameters

l CAaBox
r CAaBox

Returns

bool