Multi-purpose 3D vector class (homogeneous). More...
Inherits object.
Public Member Functions | |
cvb.Point3DC | create (cvb.Point3D point3d) |
Creates a 3D point with w component. More... | |
cvb.Point3DC | create (float x=0.0, float y=0.0, float z=0.0, float w=1.0) |
Creates a 3D point with confidence. More... | |
None | normalize (self) |
Normalize the x-, y-, and z- with the w-component. | |
Multi-purpose 3D vector class (homogeneous).
Supports the same arguments as cvb.Point3DH.create.
*args : Any Parameters like cvb.Point3DH.create.
**kwargs : Any Parameters like cvb.Point3DH.create.
cvb.Point3DC create | ( | cvb.Point3D | point3d | ) |
Creates a 3D point with w component.
point3d : cvb.Point3D 3D Point with x-, y- and z-component.
cvb.Point3DC A 3D point with w component.
cvb.Point3DC create | ( | float | x = 0.0 , |
float | y = 0.0 , |
||
float | z = 0.0 , |
||
float | w = 1.0 |
||
) |
Creates a 3D point with confidence.
x : float Data to initialize with.
y : float Data to initialize with.
z : float Data to initialize with.
w : float Data to initialize with.
cvb.Point3DC A 3D point with w component.