C# Class STim.Util.ToolBox

Mostrar archivo Open project: hcilab-um/STim

Public Methods

Method Description
ToMatrix3D ( this matrix ) : Matrix3D
ToPoint3D ( this skelPoint ) : System.Windows.Media.Media3D.Point3D
ToVector3 ( this vector3D ) : Vector3
ToVector3D ( this point ) : System.Windows.Media.Media3D.Vector3D

Private Methods

Method Description
AngleToRadian ( double angle ) : double
GetMiddleVector ( System.Windows.Media.Media3D.Vector3D P1, System.Windows.Media.Media3D.Vector3D P2 ) : System.Windows.Media.Media3D.Vector3D
GetMovementVector ( System.Windows.Media.Media3D.Point3D lastPos, System.Windows.Media.Media3D.Point3D currentPos ) : System.Windows.Vector
NewCoordinateMatrix ( System.Windows.Media.Media3D.Vector3D vX, System.Windows.Media.Media3D.Vector3D vY, System.Windows.Media.Media3D.Vector3D vZ ) : Matrix3D

Method Details

ToMatrix3D() public static method

public static ToMatrix3D ( this matrix ) : Matrix3D
matrix this
return System.Windows.Media.Media3D.Matrix3D

ToPoint3D() public static method

public static ToPoint3D ( this skelPoint ) : System.Windows.Media.Media3D.Point3D
skelPoint this
return System.Windows.Media.Media3D.Point3D

ToVector3() public static method

public static ToVector3 ( this vector3D ) : Vector3
vector3D this
return Vector3

ToVector3D() public static method

public static ToVector3D ( this point ) : System.Windows.Media.Media3D.Vector3D
point this
return System.Windows.Media.Media3D.Vector3D