Tanoda
Leap.Unity.Tests.FromThenTests Class Reference

Tests for From(), To(), and Then() extension methods. More...

Public Member Functions

void FromVecAToVecB ()
 
void ToVecBFromVecA ()
 
void FromVecBToVecA ()
 
void ToVecAFromVecB ()
 
void FromQuatAToQuatB ()
 
void ToQuatAFromQuatB ()
 
void FromQuatBToQuatA ()
 
void ToQuatBFromQuatA ()
 
void FromPoseAToPoseB ()
 
void ToPoseAFromPoseB ()
 
void FromPoseBToPoseA ()
 
void ToPoseBFromPoseA ()
 
void FromMatrixBToMatrixA ()
 
void ToMatrixAFromMatrixB ()
 
void FromMatrixAToMatrixB ()
 

Static Public Attributes

static float EPSILON = 0.0006f
 

Properties

static Pose POSE_A [get]
 
static Pose POSE_B [get]
 

Detailed Description

Tests for From(), To(), and Then() extension methods.

These extension methods provide a consistent rightward syntax for mathematical transformations, e.g. Quaternions and matrices as well as more trivial types like float and Vector3.

Definition at line 24 of file FromThenTests.cs.

Member Function Documentation

◆ FromMatrixAToMatrixB()

void Leap.Unity.Tests.FromThenTests.FromMatrixAToMatrixB ( )

Definition at line 159 of file FromThenTests.cs.

◆ FromMatrixBToMatrixA()

void Leap.Unity.Tests.FromThenTests.FromMatrixBToMatrixA ( )

Definition at line 149 of file FromThenTests.cs.

◆ FromPoseAToPoseB()

void Leap.Unity.Tests.FromThenTests.FromPoseAToPoseB ( )

Definition at line 104 of file FromThenTests.cs.

◆ FromPoseBToPoseA()

void Leap.Unity.Tests.FromThenTests.FromPoseBToPoseA ( )

Definition at line 114 of file FromThenTests.cs.

◆ FromQuatAToQuatB()

void Leap.Unity.Tests.FromThenTests.FromQuatAToQuatB ( )

Definition at line 69 of file FromThenTests.cs.

◆ FromQuatBToQuatA()

void Leap.Unity.Tests.FromThenTests.FromQuatBToQuatA ( )

Definition at line 79 of file FromThenTests.cs.

◆ FromVecAToVecB()

void Leap.Unity.Tests.FromThenTests.FromVecAToVecB ( )

Definition at line 34 of file FromThenTests.cs.

◆ FromVecBToVecA()

void Leap.Unity.Tests.FromThenTests.FromVecBToVecA ( )

Definition at line 44 of file FromThenTests.cs.

◆ ToMatrixAFromMatrixB()

void Leap.Unity.Tests.FromThenTests.ToMatrixAFromMatrixB ( )

Definition at line 154 of file FromThenTests.cs.

◆ ToPoseAFromPoseB()

void Leap.Unity.Tests.FromThenTests.ToPoseAFromPoseB ( )

Definition at line 109 of file FromThenTests.cs.

◆ ToPoseBFromPoseA()

void Leap.Unity.Tests.FromThenTests.ToPoseBFromPoseA ( )

Definition at line 119 of file FromThenTests.cs.

◆ ToQuatAFromQuatB()

void Leap.Unity.Tests.FromThenTests.ToQuatAFromQuatB ( )

Definition at line 74 of file FromThenTests.cs.

◆ ToQuatBFromQuatA()

void Leap.Unity.Tests.FromThenTests.ToQuatBFromQuatA ( )

Definition at line 84 of file FromThenTests.cs.

◆ ToVecAFromVecB()

void Leap.Unity.Tests.FromThenTests.ToVecAFromVecB ( )

Definition at line 49 of file FromThenTests.cs.

◆ ToVecBFromVecA()

void Leap.Unity.Tests.FromThenTests.ToVecBFromVecA ( )

Definition at line 39 of file FromThenTests.cs.

Member Data Documentation

◆ EPSILON

float Leap.Unity.Tests.FromThenTests.EPSILON = 0.0006f
static

Definition at line 26 of file FromThenTests.cs.

Property Documentation

◆ POSE_A

Pose Leap.Unity.Tests.FromThenTests.POSE_A
staticget

Definition at line 96 of file FromThenTests.cs.

◆ POSE_B

Pose Leap.Unity.Tests.FromThenTests.POSE_B
staticget

Definition at line 99 of file FromThenTests.cs.


The documentation for this class was generated from the following file: