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

def copy = __copy__
 

Static Private Attributes

def __radd__ = __add__
 
def __rmul__ = __mul__
 

Detailed Description

a vector

Definition at line 31 of file rotmat.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 33 of file rotmat.py.

Member Function Documentation

◆ __add__()

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

Definition at line 65 of file rotmat.py.

◆ __copy__()

def pymavlink.rotmat.Vector3.__copy__ (   self)

Definition at line 106 of file rotmat.py.

◆ __div__()

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

Definition at line 95 of file rotmat.py.

◆ __eq__()

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

Definition at line 54 of file rotmat.py.

◆ __mod__()

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

Definition at line 100 of file rotmat.py.

◆ __mul__()

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

Definition at line 85 of file rotmat.py.

◆ __ne__()

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

Definition at line 57 of file rotmat.py.

◆ __neg__()

def pymavlink.rotmat.Vector3.__neg__ (   self)

Definition at line 77 of file rotmat.py.

◆ __repr__()

def pymavlink.rotmat.Vector3.__repr__ (   self)

Definition at line 49 of file rotmat.py.

◆ __rsub__()

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

Definition at line 80 of file rotmat.py.

◆ __sub__()

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

Definition at line 72 of file rotmat.py.

◆ angle()

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

Definition at line 117 of file rotmat.py.

◆ close()

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

Definition at line 60 of file rotmat.py.

◆ length()

def pymavlink.rotmat.Vector3.length (   self)

Definition at line 111 of file rotmat.py.

◆ normalize()

def pymavlink.rotmat.Vector3.normalize (   self)

Definition at line 124 of file rotmat.py.

◆ normalized()

def pymavlink.rotmat.Vector3.normalized (   self)

Definition at line 121 of file rotmat.py.

◆ zero()

def pymavlink.rotmat.Vector3.zero (   self)

Definition at line 114 of file rotmat.py.

Member Data Documentation

◆ __radd__

def pymavlink.rotmat.Vector3.__radd__ = __add__
staticprivate

Definition at line 70 of file rotmat.py.

◆ __rmul__

def pymavlink.rotmat.Vector3.__rmul__ = __mul__
staticprivate

Definition at line 93 of file rotmat.py.

◆ copy

def pymavlink.rotmat.Vector3.copy = __copy__
static

Definition at line 109 of file rotmat.py.

◆ x

pymavlink.rotmat.Vector3.x

Definition at line 35 of file rotmat.py.

◆ y

pymavlink.rotmat.Vector3.y

Definition at line 36 of file rotmat.py.

◆ z

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 Fri Aug 2 2019 03:39:47