Trees | Indices | Help |
|
---|
|
object --+ | ??.instance --+ | Vector2
Nested Classes | |
Polar |
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
Class Variables | |
__instance_size__ = 32
|
|
__safe_for_unpickling__ = True
|
Properties | |
ORIGIN | |
OX | |
OY | |
x | |
y | |
Inherited from |
Method Details |
__abs__( (Vector2)arg1) -> Vector2 : Returns the absolute value of self. C++ signature : class TOOLS::Vector2 __abs__(class TOOLS::Vector2) |
__add__( (Vector2)arg1, (Vector2)arg2) -> object : C++ signature : struct _object * __add__(class TOOLS::Vector2 {lvalue},class TOOLS::Vector2) |
__dir__( (Vector2)arg1) -> Vector2 : Returns the direction of self. C++ signature : class TOOLS::Vector2 __dir__(class TOOLS::Vector2) |
__div__( (Vector2)arg1, (float)arg2) -> object : C++ signature : struct _object * __div__(class TOOLS::Vector2 {lvalue},double) |
__eq__( (Vector2)arg1, (Vector2)arg2) -> object : C++ signature : struct _object * __eq__(class TOOLS::Vector2 {lvalue},class TOOLS::Vector2) |
__getinitargs__( (Vector2)arg1) -> tuple : C++ signature : class boost::python::tuple __getinitargs__(class TOOLS::Vector2) |
__getitem__( (Vector2)arg1, (int)arg2) -> float : C++ signature : double __getitem__(class TOOLS::Vector2 *,unsigned int) |
__iadd__( (object)arg1, (Vector2)arg2) -> object : C++ signature : struct _object * __iadd__(struct boost::python::back_reference<class TOOLS::Vector2 &>,class TOOLS::Vector2) |
__idiv__( (object)arg1, (float)arg2) -> object : C++ signature : struct _object * __idiv__(struct boost::python::back_reference<class TOOLS::Vector2 &>,double) |
__init__( (object)arg1, (Vector2)v) -> None : Vector2(Vector2 v) C++ signature : void __init__(struct _object *,class TOOLS::Vector2) __init__( (object)arg1 [, (float)x [, (float)y]]) -> None : Vector2(real_t x , real_t y) C++ signature : void __init__(struct _object * [,double [,double]]) __init__( (object)arg1, (Polar)p) -> None : Vector2(Polar p) C++ signature : void __init__(struct _object *,struct TOOLS::Vector2::Polar)
|
__len__( (Vector2)arg1) -> float : C++ signature : double __len__(class TOOLS::Vector2 *) |
__mul__( (Vector2)arg1, (float)arg2) -> object : C++ signature : struct _object * __mul__(class TOOLS::Vector2 {lvalue},double) __mul__( (Vector2)arg1, (Vector2)arg2) -> object : C++ signature : struct _object * __mul__(class TOOLS::Vector2 {lvalue},class TOOLS::Vector2) |
__ne__( (Vector2)arg1, (Vector2)arg2) -> object : C++ signature : struct _object * __ne__(class TOOLS::Vector2 {lvalue},class TOOLS::Vector2) |
__neg__( (Vector2)arg1) -> object : C++ signature : struct _object * __neg__(class TOOLS::Vector2 {lvalue}) |
__normL1__( (Vector2)arg1) -> float : Returns the L1 (Manhattan) norm of self. C++ signature : double __normL1__(class TOOLS::Vector2) |
__normLinf__( (Vector2)arg1) -> float : Returns the L-infinite norm of self. C++ signature : double __normLinf__(class TOOLS::Vector2) |
__normSquared__( (Vector2)arg1) -> float : Returns the square of the norm of self. C++ signature : double __normSquared__(class TOOLS::Vector2) |
__norm__( (Vector2)arg1) -> float : Returns the norm of self. C++ signature : double __norm__(class TOOLS::Vector2) |
helper for pickle
|
__repr__( (Vector2)arg1) -> str : C++ signature : class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __repr__(class TOOLS::Vector2 *)
|
__setitem__( (Vector2)arg1, (int)arg2, (float)arg3) -> None : C++ signature : void __setitem__(class TOOLS::Vector2 *,unsigned int,double) |
__str__( (Vector2)arg1) -> object : C++ signature : struct _object * __str__(class TOOLS::Vector2 {lvalue}) __str__( (Vector2)arg1) -> str : C++ signature : class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __str__(class TOOLS::Vector2 *)
|
__sub__( (Vector2)arg1, (Vector2)arg2) -> object : C++ signature : struct _object * __sub__(class TOOLS::Vector2 {lvalue},class TOOLS::Vector2) |
__xor__( (Vector2)arg1, (Vector2)arg2) -> object : C++ signature : struct _object * __xor__(class TOOLS::Vector2 {lvalue},class TOOLS::Vector2) |
getMaxAbsCoord( (Vector2)arg1) -> int : Returns the index of the maximum absolute coordinate. C++ signature : int getMaxAbsCoord(class TOOLS::Vector2 {lvalue}) |
getMinAbsCoord( (Vector2)arg1) -> int : Returns the index of the minimum absolute coordinate. C++ signature : int getMinAbsCoord(class TOOLS::Vector2 {lvalue}) |
isNormalized( (Vector2)arg1) -> bool : Returns whether self is normalized. C++ signature : bool isNormalized(class TOOLS::Vector2 {lvalue}) |
isOrthogonalTo( (Vector2)arg1, (Vector2)v) -> bool : Returns whether self is orthogonal to v. C++ signature : bool isOrthogonalTo(class TOOLS::Vector2 {lvalue},class TOOLS::Vector2) |
isValid( (Vector2)arg1) -> bool : Returns whether self is valid. C++ signature : bool isValid(class TOOLS::Vector2 {lvalue}) |
normalize( (Vector2)arg1) -> float : Normalizes self and returns the norm before. C++ signature : double normalize(class TOOLS::Vector2 {lvalue}) |
Property Details |
ORIGIN
|
OX
|
OY
|
x
|
y
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Jul 16 15:52:16 2008 | http://epydoc.sourceforge.net |