Class C3Vector
A 3D float vector — the workhorse: positions, normals, rotations-as-Euler-degrees in placements.
public class C3Vector : IDisposable
- Inheritance
-
C3Vector
- Implements
- Inherited Members
Constructors
C3Vector()
public C3Vector()
C3Vector(float, float, float)
public C3Vector(float x, float y, float z)
Parameters
C3Vector(C3Vector)
Copy-construct: a deep copy of other (the C++ copy constructor).
public C3Vector(C3Vector other)
Parameters
otherC3Vector
Properties
X
The x component.
public float X { get; set; }
Property Value
Y
The y component.
public float Y { get; set; }
Property Value
Z
The z component.
public float 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 ==(C3Vector?, C3Vector?)
public static bool operator ==(C3Vector? l, C3Vector? r)
Parameters
Returns
operator !=(C3Vector?, C3Vector?)
public static bool operator !=(C3Vector? l, C3Vector? r)