UnitRow Class Template Reference

#include <UnitVec.h>

Inheritance diagram for UnitRow:

Row< 3, Real, S > List of all members.

Detailed Description

template<int S>
class SimTK::UnitRow< S >

This type is used for the transpose of UnitVec, and as the returned row type of a Rotation.

Don't construct these directly.


Public Types

typedef Row< 3, Real, S > BaseRow
typedef UnitVec< S > TransposeType

Public Member Functions

 UnitRow ()
 UnitRow (const UnitRow &u)
template<int S2>
 UnitRow (const UnitRow< S2 > &u)
UnitRowoperator= (const UnitRow &u)
template<int S2>
UnitRowoperator= (const UnitRow< S2 > &u)
 UnitRow (const BaseRow &v)
template<int S2>
 UnitRow (const Row< 3, Real, S2 > &v)
 UnitRow (const Real &x, const Real &y, const Real &z)
 UnitRow (int axis)
const BaseRowasRow3 () const
UnitRow< 1 > negate () const
UnitRow< 1 > operator- () const
const TransposeTypeoperator~ () const
TransposeTypeoperator~ ()
const Real & operator[] (int i) const
const Real & operator() (int i) const
UnitRow< 1 > abs () const
UnitRow< 1 > perp () const
 UnitRow (const BaseRow &v, bool)
template<int S2>
 UnitRow (const Row< 3, Real, S2 > &v, bool)


Member Typedef Documentation

typedef Row<3,Real,S> BaseRow

typedef UnitVec<S> TransposeType


Constructor & Destructor Documentation

UnitRow (  )  [inline]

UnitRow ( const UnitRow< S > &  u  )  [inline]

UnitRow ( const UnitRow< S2 > &  u  )  [inline]

UnitRow ( const BaseRow v  )  [inline, explicit]

UnitRow ( const Row< 3, Real, S2 > &  v  )  [inline, explicit]

UnitRow ( const Real &  x,
const Real &  y,
const Real &  z 
) [inline]

UnitRow ( int  axis  )  [inline, explicit]

UnitRow ( const BaseRow v,
bool   
) [inline]

UnitRow ( const Row< 3, Real, S2 > &  v,
bool   
) [inline]


Member Function Documentation

UnitRow<1> abs (  )  const [inline]

Reimplemented from Row< 3, Real, S >.

const BaseRow& asRow3 (  )  const [inline]

UnitRow<1> negate (  )  const [inline]

Reimplemented from Row< 3, Real, S >.

const Real& operator() ( int  i  )  const [inline]

Reimplemented from Row< 3, Real, S >.

UnitRow<1> operator- (  )  const [inline]

Reimplemented from Row< 3, Real, S >.

UnitRow& operator= ( const UnitRow< S2 > &  u  )  [inline]

UnitRow& operator= ( const UnitRow< S > &  u  )  [inline]

const Real& operator[] ( int  i  )  const [inline]

Reimplemented from Row< 3, Real, S >.

TransposeType& operator~ (  )  [inline]

Reimplemented from Row< 3, Real, S >.

const TransposeType& operator~ (  )  const [inline]

Reimplemented from Row< 3, Real, S >.

UnitRow< 1 > perp (  )  const [inline]


The documentation for this class was generated from the following file:
Generated on Thu Feb 28 01:34:36 2008 for SimTKcommon by  doxygen 1.4.7