Packagecom.transmote.flar.utils.geom
Classpublic class FLARGeomUtils
InheritanceFLARGeomUtils Inheritance Object

Collection of matrix transformation / conversion utils useful for object tracking and augmented reality applications.



Public Methods
 MethodDefined By
  
FLARGeomUtils
  
calcMatrix3DRotations(mat:Matrix3D, bInDegrees:Boolean = true, bMirrorHorizontal:Boolean = false):Vector3D
[static] Calculate rotation around X, Y, and Z axes, and return stored in a Vector3D instance.
FLARGeomUtils
  
dumpMatrix3D(matrix:Matrix3D, sd:int = 4):String
[static] Format Flash matrix as a String.
FLARGeomUtils
Constructor Detail
FLARGeomUtils()Constructor
public function FLARGeomUtils()



Method Detail
calcMatrix3DRotations()method
public static function calcMatrix3DRotations(mat:Matrix3D, bInDegrees:Boolean = true, bMirrorHorizontal:Boolean = false):Vector3D

Calculate rotation around X, Y, and Z axes, and return stored in a Vector3D instance. NOTE: does not account for scale.

Parameters

mat:Matrix3D
 
bInDegrees:Boolean (default = true)
 
bMirrorHorizontal:Boolean (default = false)

Returns
Vector3D
dumpMatrix3D()method 
public static function dumpMatrix3D(matrix:Matrix3D, sd:int = 4):String

Format Flash matrix as a String.

Parameters

matrix:Matrix3D — matrix to return as a String.
 
sd:int (default = 4) — number of significant digits to display.

Returns
String