C# Class Glare.Plane3f

A Vector3f normal with a Single distance from origin.
Show file Open project: Burton-Radons/Alexandria Class Usage Examples

Public Properties

Property Type Description
Distance System.Single
Normal Vector3f

Public Methods

Method Description
Intersect ( Plane3f b, Plane3f c ) : Vector3f

Get the intersection point between the three planes.

Intersect ( Plane3f &b, Plane3f &c, Vector3f &result ) : void

Get the intersection point between the three planes.

NormalizeInPlace ( ) : void

Normalize the Plane3f in place.

Plane3f ( System.Single normalX, System.Single normalY, System.Single normalZ, System.Single distance ) : System

Initialise the Plane3f.

Plane3f ( Vector3f normal, System.Single distance ) : System

Initialise the Plane3f.

Method Details

Intersect() public method

Get the intersection point between the three planes.
public Intersect ( Plane3f b, Plane3f c ) : Vector3f
b Plane3f
c Plane3f
return Vector3f

Intersect() public method

Get the intersection point between the three planes.
public Intersect ( Plane3f &b, Plane3f &c, Vector3f &result ) : void
b Plane3f
c Plane3f
result Vector3f
return void

NormalizeInPlace() public method

Normalize the Plane3f in place.
public NormalizeInPlace ( ) : void
return void

Plane3f() public method

Initialise the Plane3f.
public Plane3f ( System.Single normalX, System.Single normalY, System.Single normalZ, System.Single distance ) : System
normalX System.Single
normalY System.Single
normalZ System.Single
distance System.Single
return System

Plane3f() public method

Initialise the Plane3f.
public Plane3f ( Vector3f normal, System.Single distance ) : System
normal Vector3f
distance System.Single
return System

Property Details

Distance public property

Get or set the distance from origin.
public Single,System Distance
return System.Single

Normal public property

Get or set the direction of the Plane3f.
public Vector3f Normal
return Vector3f