C# Class Glare.Plane2d

A Vector2d normal with a Double distance from origin.
Show file Open project: Burton-Radons/Alexandria

Public Properties

Property Type Description
Distance Double
Normal Vector2d

Public Methods

Method Description
NormalizeInPlace ( ) : void

Normalize the Plane2d in place.

Plane2d ( Double normalX, Double normalY, Double distance ) : System

Initialise the Plane2d.

Plane2d ( Vector2d normal, Double distance ) : System

Initialise the Plane2d.

Method Details

NormalizeInPlace() public method

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

Plane2d() public method

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

Plane2d() public method

Initialise the Plane2d.
public Plane2d ( Vector2d normal, Double distance ) : System
normal Vector2d
distance Double
return System

Property Details

Distance public property

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

Normal public property

Get or set the direction of the Plane2d.
public Vector2d Normal
return Vector2d