C# Class Glare.Plane3

A Vector3d normal with a Length distance from origin.
Datei anzeigen Open project: Burton-Radons/Alexandria Class Usage Examples

Public Properties

Property Type Description
Distance Length
Normal Vector3d

Public Methods

Method Description
Intersect ( Plane3 b, Plane3 c ) : System.Vector3

Get the intersection point between the three planes.

Intersect ( Plane3 &b, Plane3 &c, System.Vector3 &result ) : void

Get the intersection point between the three planes.

NormalizeInPlace ( ) : void

Normalize the Plane3 in place.

Plane3 ( Double normalX, Double normalY, Double normalZ, Length distance ) : System

Initialise the Plane3.

Plane3 ( Vector3d normal, Length distance ) : System

Initialise the Plane3.

Method Details

Intersect() public method

Get the intersection point between the three planes.
public Intersect ( Plane3 b, Plane3 c ) : System.Vector3
b Plane3
c Plane3
return System.Vector3

Intersect() public method

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

NormalizeInPlace() public method

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

Plane3() public method

Initialise the Plane3.
public Plane3 ( Double normalX, Double normalY, Double normalZ, Length distance ) : System
normalX Double
normalY Double
normalZ Double
distance Length
return System

Plane3() public method

Initialise the Plane3.
public Plane3 ( Vector3d normal, Length distance ) : System
normal Vector3d
distance Length
return System

Property Details

Distance public_oe property

Get or set the distance from origin.
public Length Distance
return Length

Normal public_oe property

Get or set the direction of the Plane3.
public Vector3d Normal
return Vector3d