Class M2Box
A model-space box: minimum and maximum corner vectors.
public class M2Box : IDisposable
- Inheritance
-
M2Box
- Implements
- Inherited Members
Constructors
M2Box()
public M2Box()
M2Box(C3Vector, C3Vector)
public M2Box(C3Vector minimum, C3Vector maximum)
Parameters
M2Box(M2Box)
Copy-construct: a deep copy of other (the C++ copy constructor).
public M2Box(M2Box other)
Parameters
otherM2Box
Properties
Maximum
The maximum corner.
public C3Vector Maximum { get; set; }
Property Value
Minimum
The minimum corner.
public C3Vector Minimum { 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 ==(M2Box?, M2Box?)
public static bool operator ==(M2Box? l, M2Box? r)
Parameters
Returns
operator !=(M2Box?, M2Box?)
public static bool operator !=(M2Box? l, M2Box? r)