C# Class Nexus.Point4D

Exibir arquivo Open project: tgjones/nexus Class Usage Examples

Public Properties

Property Type Description
W float
X float
Y float
Z float

Public Methods

Method Description
Equals ( object obj ) : bool
GetHashCode ( ) : int
LinearInterpolate ( Point4D value1, Point4D value2, float amountRangeStart, float amountRangeEnd, float amount ) : Point4D
Parse ( string source ) : Point4D
PerspectiveInterpolate ( Point4D value1, Point4D value2, float w1, float w2, float amountRangeStart, float amountRangeEnd, float amount ) : Point4D
Point4D ( Point3D point, float w ) : System
Point4D ( float x, float y, float z, float w ) : System
ToPoint3D ( ) : Point3D
ToString ( ) : string
Transform ( Point3D position, Matrix3D matrix ) : Point4D

Transforms a Point3D by the given Matrix.

operator ( ) : Point4D
operator ( ) : Vector4D
operator ( ) : bool

Private Methods

Method Description
ConvertToString ( string format, IFormatProvider provider ) : string

Method Details

Equals() public method

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

GetHashCode() public method

public GetHashCode ( ) : int
return int

LinearInterpolate() public static method

public static LinearInterpolate ( Point4D value1, Point4D value2, float amountRangeStart, float amountRangeEnd, float amount ) : Point4D
value1 Point4D
value2 Point4D
amountRangeStart float
amountRangeEnd float
amount float
return Point4D

Parse() public static method

public static Parse ( string source ) : Point4D
source string
return Point4D

PerspectiveInterpolate() public static method

public static PerspectiveInterpolate ( Point4D value1, Point4D value2, float w1, float w2, float amountRangeStart, float amountRangeEnd, float amount ) : Point4D
value1 Point4D
value2 Point4D
w1 float
w2 float
amountRangeStart float
amountRangeEnd float
amount float
return Point4D

Point4D() public method

public Point4D ( Point3D point, float w ) : System
point Point3D
w float
return System

Point4D() public method

public Point4D ( float x, float y, float z, float w ) : System
x float
y float
z float
w float
return System

ToPoint3D() public method

public ToPoint3D ( ) : Point3D
return Point3D

ToString() public method

public ToString ( ) : string
return string

Transform() public static method

Transforms a Point3D by the given Matrix.
public static Transform ( Point3D position, Matrix3D matrix ) : Point4D
position Point3D The source Point3D.
matrix Matrix3D The transformation matrix.
return Point4D

operator() public static method

public static operator ( ) : Point4D
return Point4D

operator() public static method

public static operator ( ) : Vector4D
return Vector4D

operator() public static method

public static operator ( ) : bool
return bool

Property Details

W public_oe property

public float W
return float

X public_oe property

public float X
return float

Y public_oe property

public float Y
return float

Z public_oe property

public float Z
return float