Package pymeshio :: Module common :: Class Vector3
[hide private]
[frames] | no frames]

Class Vector3

source code

object --+
         |
        Vector3

3D coordinate for vertex position, normal direction
Instance Methods [hide private]
 
__init__(self, x=0, y=0, z=0)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__str__(self)
str(x)
source code
 
__eq__(self, rhs) source code
 
__ne__(self, rhs) source code
 
__getitem__(self, key) source code
 
to_tuple(self) source code
 
__add__(self, r) source code
 
__sub__(self, rhs) source code
 
getSqNorm(self) source code
 
getNorm(self) source code
 
normalize(self) source code
 
to_a(self) source code
 
dot(self, rhs)
dot(inner) product
source code
 
cross(self, rhs)
cross(outer) product
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Properties [hide private]
  x
  y
  z

Inherited from object: __class__

Method Details [hide private]

__init__(self, x=0, y=0, z=0)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 
str(x)
Overrides: object.__str__
(inherited documentation)