Class C4Plane
A plane as a normal and its signed distance from the origin.
public class C4Plane : IDisposable
- Inheritance
-
C4Plane
- Implements
- Inherited Members
Constructors
C4Plane()
public C4Plane()
C4Plane(C3Vector, float)
public C4Plane(C3Vector normal, float distance)
Parameters
C4Plane(C4Plane)
Copy-construct: a deep copy of other (the C++ copy constructor).
public C4Plane(C4Plane other)
Parameters
otherC4Plane
Properties
Distance
The signed distance from the origin.
public float Distance { get; set; }
Property Value
Normal
The plane normal.
public C3Vector Normal { 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 ==(C4Plane?, C4Plane?)
public static bool operator ==(C4Plane? l, C4Plane? r)
Parameters
Returns
operator !=(C4Plane?, C4Plane?)
public static bool operator !=(C4Plane? l, C4Plane? r)