Class CAaBox
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
CAaBox(CAaBox)
Copy-construct: a deep copy of other (the C++ copy constructor).
public CAaBox(CAaBox other)
Parameters
otherCAaBox
Properties
Max
The maximum corner.
public C3Vector Max { get; set; }
Property Value
Min
The minimum corner.
public C3Vector Min { get; set; }
Property Value
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
objobjectThe object to compare with the current object.
Returns
GetHashCode()
Reference-identity hash (the C++ type has no hash to mirror).
public override int GetHashCode()
Returns
Operators
operator ==(CAaBox?, CAaBox?)
public static bool operator ==(CAaBox? l, CAaBox? r)
Parameters
Returns
operator !=(CAaBox?, CAaBox?)
public static bool operator !=(CAaBox? l, CAaBox? r)