C# Class R3.Geometry.VectorND

Datei anzeigen Open project: roice3/Honeycombs Class Usage Examples

Public Methods

Method Description
Clone ( ) : VectorND
Dist ( VectorND v ) : double
Divide ( double s ) : void
Dot ( VectorND v ) : double
Normalize ( ) : bool
ProjectTo2D ( double cameraDist ) : VectorND

3D -> 2D projection.

ProjectTo3D ( double cameraDist ) : VectorND

4D -> 3D projection.

VectorND ( double components ) : System.Diagnostics
VectorND ( int dimension ) : System.Diagnostics
operator ( ) : VectorND

Method Details

Clone() public method

public Clone ( ) : VectorND
return VectorND

Dist() public method

public Dist ( VectorND v ) : double
v VectorND
return double

Divide() public method

public Divide ( double s ) : void
s double
return void

Dot() public method

public Dot ( VectorND v ) : double
v VectorND
return double

Normalize() public method

public Normalize ( ) : bool
return bool

ProjectTo2D() public method

3D -> 2D projection.
public ProjectTo2D ( double cameraDist ) : VectorND
cameraDist double
return VectorND

ProjectTo3D() public method

4D -> 3D projection.
public ProjectTo3D ( double cameraDist ) : VectorND
cameraDist double
return VectorND

VectorND() public method

public VectorND ( double components ) : System.Diagnostics
components double
return System.Diagnostics

VectorND() public method

public VectorND ( int dimension ) : System.Diagnostics
dimension int
return System.Diagnostics

operator() public static method

public static operator ( ) : VectorND
return VectorND