Tanoda
Leap.Unity.Interaction.KabschSolver Class Reference

Public Member Functions

Matrix4x4 SolveKabsch (List< Vector3 > inPoints, List< Vector3 > refPoints, int optimalRotationIterations=9, bool solveScale=false)
 

Static Public Member Functions

static Vector3[] MatrixFromQuaternion (Quaternion q, Vector3[] covariance)
 

Public Attributes

Vector3 translation = Vector3.zero
 
Quaternion OptimalRotation = Quaternion.identity
 
float scaleRatio = 1f
 

Detailed Description

Definition at line 14 of file KabschSolver.cs.

Member Function Documentation

◆ MatrixFromQuaternion()

static Vector3[] Leap.Unity.Interaction.KabschSolver.MatrixFromQuaternion ( Quaternion  q,
Vector3[]  covariance 
)
static

Definition at line 94 of file KabschSolver.cs.

◆ SolveKabsch()

Matrix4x4 Leap.Unity.Interaction.KabschSolver.SolveKabsch ( List< Vector3 >  inPoints,
List< Vector3 >  refPoints,
int  optimalRotationIterations = 9,
bool  solveScale = false 
)

Definition at line 20 of file KabschSolver.cs.

Member Data Documentation

◆ OptimalRotation

Quaternion Leap.Unity.Interaction.KabschSolver.OptimalRotation = Quaternion.identity

Definition at line 18 of file KabschSolver.cs.

◆ scaleRatio

float Leap.Unity.Interaction.KabschSolver.scaleRatio = 1f

Definition at line 19 of file KabschSolver.cs.

◆ translation

Vector3 Leap.Unity.Interaction.KabschSolver.translation = Vector3.zero

Definition at line 17 of file KabschSolver.cs.


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