Table of Contents

Class Plane

Namespace
Graphene
Assembly
Graphene-1.0.dll
public sealed class Plane : BoxedRecord, IEquatable<Plane>
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

PlaneOwnedHandle

Methods

Alloc()

[Version("1.2")]
public static Plane Alloc()

Returns

Plane

Distance(Point3D)

[Version("1.2")]
public float Distance(Point3D point)

Parameters

point Point3D

Returns

float

Equal(Plane)

[Version("1.2")]
public bool Equal(Plane b)

Parameters

b Plane

Returns

bool

Equals(Plane?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(Plane? other)

Parameters

other Plane

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

Free()

[Version("1.2")]
public void Free()

GetConstant()

[Version("1.2")]
public float GetConstant()

Returns

float

GetGType()

public static Type GetGType()

Returns

Type

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

normal Vec3
constant float

Returns

Plane

InitFromPlane(Plane)

[Version("1.2")]
public Plane InitFromPlane(Plane src)

Parameters

src Plane

Returns

Plane

InitFromPoint(Vec3, Point3D)

[Version("1.2")]
public Plane InitFromPoint(Vec3 normal, Point3D point)

Parameters

normal Vec3
point Point3D

Returns

Plane

InitFromPoints(Point3D, Point3D, Point3D)

[Version("1.2")]
public Plane InitFromPoints(Point3D a, Point3D b, Point3D c)

Parameters

a Point3D
b Point3D
c Point3D

Returns

Plane

InitFromVec4(Vec4)

[Version("1.2")]
public Plane InitFromVec4(Vec4 src)

Parameters

src Vec4

Returns

Plane