C# Class R3.Math.GoldenVector4D

Datei anzeigen Open project: roice3/Honeycombs Class Usage Examples

Public Methods

Method Description
ConvertToReal ( ) : Vector3D
Equals ( object obj ) : bool
GetHashCode ( ) : int
GoldenVector4D ( Golden x, Golden y, Golden z, Golden u ) : System.Diagnostics
Origin ( ) : GoldenVector4D

This is here because parameterless constructor leads to 0/0 Fractions. I should find a better way to deal with this (maybe these all just need to be classes).

ProjectOrthographic ( ) : bool
ProjectPerspective ( ) : bool
ReadVector ( string line ) : void
WriteVector ( ) : string
operator ( ) : GoldenVector4D
operator ( ) : bool

Private Methods

Method Description
ReadComponent ( string component ) : Golden
WriteComponent ( Golden val ) : string

Method Details

ConvertToReal() public method

public ConvertToReal ( ) : Vector3D
return Vector3D

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

GoldenVector4D() public method

public GoldenVector4D ( Golden x, Golden y, Golden z, Golden u ) : System.Diagnostics
x Golden
y Golden
z Golden
u Golden
return System.Diagnostics

Origin() public static method

This is here because parameterless constructor leads to 0/0 Fractions. I should find a better way to deal with this (maybe these all just need to be classes).
public static Origin ( ) : GoldenVector4D
return GoldenVector4D

ProjectOrthographic() public method

public ProjectOrthographic ( ) : bool
return bool

ProjectPerspective() public method

public ProjectPerspective ( ) : bool
return bool

ReadVector() public method

public ReadVector ( string line ) : void
line string
return void

WriteVector() public method

public WriteVector ( ) : string
return string

operator() public static method

public static operator ( ) : GoldenVector4D
return GoldenVector4D

operator() public static method

public static operator ( ) : bool
return bool