|
| UnitRow () |
|
| UnitRow (const UnitRow &u) |
| Copy constructor does not require normalization. More...
|
|
template<int S2> |
| UnitRow (const UnitRow< P, S2 > &u) |
| Implicit conversion from UnitRow with different stride; no normalization required. More...
|
|
UnitRow & | operator= (const UnitRow &u) |
| Copy assignment does not require normalization. More...
|
|
template<int S2> |
UnitRow & | operator= (const UnitRow< P, S2 > &u) |
| Copy assignment from UnitRow with different stride; no computation needed. More...
|
|
| UnitRow (const BaseRow &v) |
| Explicit conversion from Row to UnitRow, requiring expensive normalization. More...
|
|
template<int S2> |
| UnitRow (const Row< 3, P, S2 > &v) |
| Explicit conversion from Row of any stride to UnitRow, requiring expensive normalization. More...
|
|
| UnitRow (const P &x, const P &y, const P &z) |
| Create a unit row from explicitly specified measure numbers (x,y,z); requires expensive normalization. More...
|
|
| UnitRow (int axis) |
| Create a unit axis vector 100 010 001 given 0, 1, or 2. More...
|
|
const BaseRow & | asRow3 () const |
| Return a const reference to the Row3 underlying this UnitRow. More...
|
|
UnitRow< P, 1 > | negate () const |
| Returns a new unit vector pointing in the opposite direction from this one; does not modify this UnitVec object. More...
|
|
UnitRow< P, 1 > | operator- () const |
| Returns a new unit vector pointing in the opposite direction from this one. More...
|
|
const TransposeType & | operator~ () const |
| Return a const reference to this UnitRow reinterpreted as a UnitVec; no computation requires since this is just a type cast. More...
|
|
TransposeType & | operator~ () |
| Return a writable reference to this UnitRow reinterpreted as a UnitVec; no computation requires since this is just a type cast. More...
|
|
const P & | operator[] (int i) const |
| Return one element of this unit row as a const reference; there is no corresponding writable index function since changing a single element of a unit vector would violate the contract that it has unit length at all times. More...
|
|
const P & | operator() (int i) const |
| Return one element of this unit row as a const reference; there is no corresponding writable index function since changing a single element of a unit vector would violate the contract that it has unit length at all times. More...
|
|
UnitRow< P, 1 > | abs () const |
| Return a new UnitRow whose measure numbers are the absolute values of the ones here. More...
|
|
UnitRow< P, 1 > | perp () const |
| Return a new UnitRow perpendicular to this one but otherwise arbitrary. More...
|
|
| UnitRow (const BaseRow &v, bool) |
| (Advanced) This constructor is only for our friends whom we trust to give us an already-normalized vector which we simply accept as normalized without checking. More...
|
|
template<int S2> |
| UnitRow (const Row< 3, P, S2 > &v, bool) |
| (Advanced) This constructor is only for our friends whom we trust to give us an already-normalized vector which we simply accept as normalized without checking (this version accepts an input vector of any stride). More...
|
|
|
(Note that these are not member functions.)
|
template<class P , int S1, int S2> |
bool | operator== (const UnitRow< P, S1 > &u1, const UnitRow< P, S2 > &u2) |
| Compare two UnitRow3 objects for exact, bitwise equality (not very useful). More...
|
|
template<class P , int S1, int S2> |
bool | operator!= (const UnitRow< P, S1 > &u1, const UnitRow< P, S2 > &u2) |
| Compare two UnitRow3 objects and return true unless they are exactly bitwise equal (not very useful). More...
|
|
template<class P, int S>
class SimTK::UnitRow< P, S >
This type is used for the transpose of UnitVec, and as the returned row type of a Rotation.
Don't construct these directly.