OmegaEngine API  1.0.3
Public Member Functions | Static Public Member Functions | Properties | List of all members
OmegaEngine.Values.DoublePlane Struct Reference

Defines a plane in three dimensions with double distance accuracy. More...

Inheritance diagram for OmegaEngine.Values.DoublePlane:

Public Member Functions

 DoublePlane (DoubleVector3 point, Vector3 normal)
 Creates a new plane. More...
 
Plane ApplyOffset (DoubleVector3 offset)
 Returns a single-precision standard Plane after subtracting an offset value. More...
 
override string ToString ()
 
bool Equals (DoublePlane other)
 
override bool Equals (object obj)
 
override int GetHashCode ()
 

Static Public Member Functions

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

Properties

DoubleVector3 Point [get]
 A point that lies along the plane. More...
 
Vector3 Normal [get, set]
 The normal vector of the plane. More...
 

Detailed Description

Defines a plane in three dimensions with double distance accuracy.

Constructor & Destructor Documentation

◆ DoublePlane()

OmegaEngine.Values.DoublePlane.DoublePlane ( DoubleVector3  point,
Vector3  normal 
)
inline

Creates a new plane.

Parameters
pointA point that lies along the plane.
normalThe normal vector of the plane.

Member Function Documentation

◆ ApplyOffset()

Plane OmegaEngine.Values.DoublePlane.ApplyOffset ( DoubleVector3  offset)

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

Parameters
offsetThis value is subtracted from the double-precision data before it is casted to single-precision.
Returns
The newly positioned Plane.

Property Documentation

◆ Normal

Vector3 OmegaEngine.Values.DoublePlane.Normal
getset

The normal vector of the plane.

◆ Point

DoubleVector3 OmegaEngine.Values.DoublePlane.Point
get

A point that lies along the plane.


The documentation for this struct was generated from the following file: