Table of Contents

Struct DoublePlane

Namespace
OmegaEngine.Foundation.Geometry
Assembly
OmegaEngine.Foundation.dll

Defines a plane in three dimensions with double distance accuracy.

[TypeConverter(typeof(DoublePlaneConverter))]
public struct DoublePlane : IEquatable<DoublePlane>
Implements

Constructors

DoublePlane(DoubleVector3, Vector3)

Defines a plane in three dimensions with double distance accuracy.

public DoublePlane(DoubleVector3 point, Vector3 normal)

Parameters

point DoubleVector3

A point that lies along the plane.

normal Vector3

The normal vector of the plane.

Properties

Normal

The normal vector of the plane.

public Vector3 Normal { readonly get; set; }

Property Value

Vector3

Point

A point that lies along the plane.

public readonly DoubleVector3 Point { get; }

Property Value

DoubleVector3

Methods

ApplyOffset(DoubleVector3)

Returns a single-precision standard SlimDX.Plane after subtracting an offset value.

public readonly Plane ApplyOffset(DoubleVector3 offset)

Parameters

offset DoubleVector3

This value is subtracted from the double-precision data before it is casted to single-precision.

Returns

Plane

The newly positioned SlimDX.Plane.

Equals(DoublePlane)

public readonly bool Equals(DoublePlane other)

Parameters

other DoublePlane

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override readonly int GetHashCode()

Returns

int

ToString()

public override readonly string ToString()

Returns

string

Operators

operator ==(DoublePlane, DoublePlane)

public static bool operator ==(DoublePlane left, DoublePlane right)

Parameters

left DoublePlane
right DoublePlane

Returns

bool

operator !=(DoublePlane, DoublePlane)

public static bool operator !=(DoublePlane left, DoublePlane right)

Parameters

left DoublePlane
right DoublePlane

Returns

bool