C# Class Glare.Plane3d

A Vector3d normal with a Double distance from origin.
Mostrar archivo Open project: Burton-Radons/Alexandria Class Usage Examples

Public Properties

Property Type Description
Distance Double
Normal Vector3d

Public Methods

Method Description
Intersect ( Plane3d b, Plane3d c ) : Vector3d

Get the intersection point between the three planes.

Intersect ( Plane3d &b, Plane3d &c, Vector3d &result ) : void

Get the intersection point between the three planes.

NormalizeInPlace ( ) : void

Normalize the Plane3d in place.

Plane3d ( Double normalX, Double normalY, Double normalZ, Double distance ) : System

Initialise the Plane3d.

Plane3d ( Vector3d normal, Double distance ) : System

Initialise the Plane3d.

Method Details

Intersect() public method

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

Intersect() public method

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

NormalizeInPlace() public method

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

Plane3d() public method

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

Plane3d() public method

Initialise the Plane3d.
public Plane3d ( Vector3d normal, Double distance ) : System
normal Vector3d
distance Double
return System

Property Details

Distance public_oe property

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

Normal public_oe property

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