Class Plane
- Namespace
- Graphene
- Assembly
- Graphene-1.0.dll
public sealed class Plane : BoxedRecord, GTypeProvider, InstanceFactory, IEquatable<Plane>, IDisposable
- Inheritance
-
Plane
- Implements
- Inherited Members
Constructors
Plane()
public Plane()
Plane(PlaneOwnedHandle)
public Plane(PlaneOwnedHandle handle)
Parameters
handle
PlaneOwnedHandle
Properties
Handle
public PlaneOwnedHandle Handle { get; }
Property Value
Methods
Alloc()
[Version("1.2")]
public static Plane Alloc()
Returns
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Distance(Point3D)
[Version("1.2")]
public float Distance(Point3D point)
Parameters
point
Point3D
Returns
Equal(Plane)
[Version("1.2")]
public bool Equal(Plane b)
Parameters
b
Plane
Returns
Equals(Plane?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(Plane? other)
Parameters
other
PlaneAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
Free()
[Version("1.2")]
public void Free()
GetConstant()
[Version("1.2")]
public float GetConstant()
Returns
GetGType()
public static Type GetGType()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
Init(Vec3?, float)
[Version("1.2")]
public Plane Init(Vec3? normal, float constant)
Parameters
Returns
InitFromPlane(Plane)
[Version("1.2")]
public Plane InitFromPlane(Plane src)
Parameters
src
Plane
Returns
InitFromPoint(Vec3, Point3D)
[Version("1.2")]
public Plane InitFromPoint(Vec3 normal, Point3D point)
Parameters
Returns
InitFromPoints(Point3D, Point3D, Point3D)
[Version("1.2")]
public Plane InitFromPoints(Point3D a, Point3D b, Point3D c)
Parameters
Returns
InitFromVec4(Vec4)
[Version("1.2")]
public Plane InitFromVec4(Vec4 src)
Parameters
src
Vec4