VEX V5 C++ API
Public Member Functions | Public Attributes | List of all members
vex::inertial::matrix Class Reference

class to hold an inertial matrix More...

Public Member Functions

 matrix ()
 
 ~matrix ()
 
void transform (double &x, double &y, double &z)
 
void multiply (inertial::matrix &m)
 
double inverse ()
 

Public Attributes

double data [4][4]
 

Detailed Description

class to hold an inertial matrix

This class wraps a 4x4 matrix that can be used when performing 3d transformations.

Constructor & Destructor Documentation

◆ matrix()

vex::inertial::matrix::matrix ( )

◆ ~matrix()

vex::inertial::matrix::~matrix ( )

Member Function Documentation

◆ transform()

void vex::inertial::matrix::transform ( double &  x,
double &  y,
double &  z 
)

◆ multiply()

void vex::inertial::matrix::multiply ( inertial::matrix m)

◆ inverse()

double vex::inertial::matrix::inverse ( )

Member Data Documentation

◆ data

double vex::inertial::matrix::data[4][4]