Class C3IVector
A 3D integer vector.
public class C3IVector : IDisposable
- Inheritance
-
C3IVector
- Implements
- Inherited Members
Constructors
C3IVector()
public C3IVector()
C3IVector(int, int, int)
public C3IVector(int x, int y, int z)
Parameters
C3IVector(C3IVector)
Copy-construct: a deep copy of other (the C++ copy constructor).
public C3IVector(C3IVector other)
Parameters
otherC3IVector
Properties
X
The x component.
public int X { get; set; }
Property Value
Y
The y component.
public int Y { get; set; }
Property Value
Z
The z component.
public int Z { 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 ==(C3IVector?, C3IVector?)
public static bool operator ==(C3IVector? l, C3IVector? r)
Parameters
Returns
operator !=(C3IVector?, C3IVector?)
public static bool operator !=(C3IVector? l, C3IVector? r)