#include <gul_types.h>
Inheritance diagram for gul::point2::
Public Methods | |
T | weight () const |
point2 () | |
template<class T2> | point2 (const T2 &ax, const T2 &ay) |
template<class T2> point2< T > & | operator= (const point2< T2 > &a) |
point2< T > & | operator+= (const point2< T > &a) |
point2< T > & | operator-= (const point2< T > &a) |
point2< T > & | operator *= (T &a) |
const T & | operator[] (size_t i) const |
operator vec4 () const | |
Static Public Methods | |
int | dim () |
bool | hom () |
Public Attributes | |
T | x |
T | y |
|
|
|
|
|
Definition at line 818 of file gul_types.h.
00818 { return 2; } |
|
Definition at line 819 of file gul_types.h.
00819 { return false; } |
|
Definition at line 845 of file gul_types.h.
|
|
Definition at line 852 of file gul_types.h.
|
|
Definition at line 835 of file gul_types.h.
|
|
Definition at line 840 of file gul_types.h.
|
|
Definition at line 829 of file gul_types.h.
|
|
Definition at line 850 of file gul_types.h. References x.
00850 { return (&x)[i]; } |
|
Definition at line 820 of file gul_types.h.
00820 { return rtr<T>::one(); } |
|
Definition at line 816 of file gul_types.h. Referenced by gugr::DumpPS::dump_point(), operator *=(), operator vec4(), operator+=(), operator-=(), operator=(), operator[](), and weight(). |
|
Definition at line 817 of file gul_types.h. Referenced by gugr::DumpPS::dump_point(), operator *=(), operator vec4(), operator+=(), operator-=(), operator=(), and weight(). |