Main Page Class List Class Members

# VHACD::Vec2< T > Class Template Reference

Vector dim 2. More...

`#include <vhacdVector.h>`

List of all members.

## Public Member Functions
T | GetNorm () const
void | Normalize ()
Vec2 | operator* (T rhs) const
T | operator* (const Vec2 &rhs) const
void | operator*= (T a)
Vec2 | operator+ (const Vec2 &rhs) const
void | operator+= (T a)
void | operator+= (const Vec2 &rhs)
Vec2 | operator- () const
Vec2 | operator- (const Vec2 &rhs) const
void | operator-= (T a)
void | operator-= (const Vec2 &rhs)
Vec2 | operator/ (T rhs) const
void | operator/= (T a)
void | operator= (const Vec2 &rhs)
const T & | operator[] (size_t i) const
T & | operator[] (size_t i)
T | operator^ (const Vec2 &rhs) const
| Vec2 (const Vec2 &rhs)
| Vec2 (T x, T y)
| Vec2 (T a)
| Vec2 ()
const T & | X () const
T & | X ()
const T & | Y () const
T & | Y ()
| ~Vec2 (void)

## Detailed Description

### template<typename T>
class VHACD::Vec2< T >

Vector dim 2.

## Constructor & Destructor Documentation

template<typename T >

VHACD::Vec2< T >::Vec2 | ( |  | ) |

template<typename T >

VHACD::Vec2< T >::Vec2 | ( | T | a | ) |

template<typename T >

VHACD::Vec2< T >::Vec2 | ( | T | x,
|  | T | y |
| ) |  |  |

template<typename T >

VHACD::Vec2< T >::Vec2 | ( | const Vec2< T > & | rhs | ) |

template<typename T >

VHACD::Vec2< T >::~Vec2 | ( | void |  | ) |

## Member Function Documentation

template<typename T >

T VHACD::Vec2< T >::GetNorm | ( |  | ) | const

template<typename T >

void VHACD::Vec2< T >::Normalize | ( |  | ) |

template<typename T >

Vec2 VHACD::Vec2< T >::operator* | ( | T | rhs | ) | const

template<typename T >

T VHACD::Vec2< T >::operator* | ( | const Vec2< T > & | rhs | ) | const

template<typename T >

void VHACD::Vec2< T >::operator*= | ( | T | a | ) |

template<typename T >

Vec2 VHACD::Vec2< T >::operator+ | ( | const Vec2< T > & | rhs | ) | const

template<typename T >

void VHACD::Vec2< T >::operator+= | ( | T | a | ) |

template<typename T >

void VHACD::Vec2< T >::operator+= | ( | const Vec2< T > & | rhs | ) |

template<typename T >

Vec2 VHACD::Vec2< T >::operator- | ( |  | ) | const

template<typename T >

Vec2 VHACD::Vec2< T >::operator- | ( | const Vec2< T > & | rhs | ) | const

template<typename T >

void VHACD::Vec2< T >::operator-= | ( | T | a | ) |

template<typename T >

void VHACD::Vec2< T >::operator-= | ( | const Vec2< T > & | rhs | ) |

template<typename T >

Vec2 VHACD::Vec2< T >::operator/ | ( | T | rhs | ) | const

template<typename T >

void VHACD::Vec2< T >::operator/= | ( | T | a | ) |

template<typename T >

void VHACD::Vec2< T >::operator= | ( | const Vec2< T > & | rhs | ) |

template<typename T >

const T& VHACD::Vec2< T >::operator[] | ( | size_t | i | ) | const`[inline]`

template<typename T >

T& VHACD::Vec2< T >::operator[] | ( | size_t | i | ) | `[inline]`

template<typename T >

T VHACD::Vec2< T >::operator^ | ( | const Vec2< T > & | rhs | ) | const

template<typename T >

const T& VHACD::Vec2< T >::X | ( |  | ) | const

template<typename T >

T& VHACD::Vec2< T >::X | ( |  | ) |

template<typename T >

const T& VHACD::Vec2< T >::Y | ( |  | ) | const

template<typename T >

T& VHACD::Vec2< T >::Y | ( |  | ) |

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

- sdk/extensions/authoring/source/VHACD/inc/vhacdVector.h