Public Member Functions | Public Attributes | Static Public Attributes | Static Private Attributes | List of all members
pymavlink.rotmat.Vector3 Class Reference
Inheritance diagram for pymavlink.rotmat.Vector3:
Inheritance graph
[legend]

Public Member Functions

def __add__ (self, v)
 
def __copy__ (self)
 
def __div__ (self, v)
 
def __eq__ (self, v)
 
def __init__ (self, x=None, y=None, z=None)
 
def __mod__ (self, v)
 
def __mul__ (self, v)
 
def __ne__ (self, v)
 
def __neg__ (self)
 
def __repr__ (self)
 
def __rsub__ (self, v)
 
def __sub__ (self, v)
 
def angle (self, v)
 
def close (self, v, tol=1e-7)
 
def length (self)
 
def normalize (self)
 
def normalized (self)
 
def zero (self)
 

Public Attributes

 x
 
 y
 
 z
 

Static Public Attributes

 copy = __copy__
 

Static Private Attributes

 __radd__ = __add__
 
 __rmul__ = __mul__
 

Detailed Description

a vector

Definition at line 31 of file rotmat.py.

Constructor & Destructor Documentation

def pymavlink.rotmat.Vector3.__init__ (   self,
  x = None,
  y = None,
  z = None 
)

Definition at line 33 of file rotmat.py.

Member Function Documentation

def pymavlink.rotmat.Vector3.__add__ (   self,
  v 
)

Definition at line 65 of file rotmat.py.

def pymavlink.rotmat.Vector3.__copy__ (   self)

Definition at line 106 of file rotmat.py.

def pymavlink.rotmat.Vector3.__div__ (   self,
  v 
)

Definition at line 95 of file rotmat.py.

def pymavlink.rotmat.Vector3.__eq__ (   self,
  v 
)

Definition at line 54 of file rotmat.py.

def pymavlink.rotmat.Vector3.__mod__ (   self,
  v 
)
cross product

Definition at line 100 of file rotmat.py.

def pymavlink.rotmat.Vector3.__mul__ (   self,
  v 
)

Definition at line 85 of file rotmat.py.

def pymavlink.rotmat.Vector3.__ne__ (   self,
  v 
)

Definition at line 57 of file rotmat.py.

def pymavlink.rotmat.Vector3.__neg__ (   self)

Definition at line 77 of file rotmat.py.

def pymavlink.rotmat.Vector3.__repr__ (   self)

Definition at line 49 of file rotmat.py.

def pymavlink.rotmat.Vector3.__rsub__ (   self,
  v 
)

Definition at line 80 of file rotmat.py.

def pymavlink.rotmat.Vector3.__sub__ (   self,
  v 
)

Definition at line 72 of file rotmat.py.

def pymavlink.rotmat.Vector3.angle (   self,
  v 
)
return the angle between this vector and another vector

Definition at line 117 of file rotmat.py.

def pymavlink.rotmat.Vector3.close (   self,
  v,
  tol = 1e-7 
)

Definition at line 60 of file rotmat.py.

def pymavlink.rotmat.Vector3.length (   self)

Definition at line 111 of file rotmat.py.

def pymavlink.rotmat.Vector3.normalize (   self)

Definition at line 124 of file rotmat.py.

def pymavlink.rotmat.Vector3.normalized (   self)

Definition at line 121 of file rotmat.py.

def pymavlink.rotmat.Vector3.zero (   self)

Definition at line 114 of file rotmat.py.

Member Data Documentation

pymavlink.rotmat.Vector3.__radd__ = __add__
staticprivate

Definition at line 70 of file rotmat.py.

pymavlink.rotmat.Vector3.__rmul__ = __mul__
staticprivate

Definition at line 93 of file rotmat.py.

pymavlink.rotmat.Vector3.copy = __copy__
static

Definition at line 109 of file rotmat.py.

pymavlink.rotmat.Vector3.x

Definition at line 35 of file rotmat.py.

pymavlink.rotmat.Vector3.y

Definition at line 36 of file rotmat.py.

pymavlink.rotmat.Vector3.z

Definition at line 37 of file rotmat.py.


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


mavlink
Author(s): Lorenz Meier
autogenerated on Sun Jul 7 2019 03:22:08