Public Member Functions | Properties | List of all members
Point3DH Class Reference

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...
 
None normalize (self)
 Normalize the x-, y-, and z- with the w-component. More...
 

Properties

 w = property
 float: Gets or sets the w-component of the point. More...
 
 x = property
 float: Gets or sets the x-component of the point. More...
 
 y = property
 float: Gets or sets the y-component of the point. More...
 
 z = property
 float: Gets or sets the z-component of the point. More...
 

Detailed Description

Multi-purpose 3D vector class (homogeneous).

Supports the same arguments as cvb.Point3DH.create.

Parameters

*args : Any Parameters like cvb.Point3DH.create.

**kwargs : Any Parameters like cvb.Point3DH.create.

Member Function Documentation

◆ create()

cvb.Point3DC create ( cvb.Point3D  point3d)

Creates a 3D point with w component.

Parameters

point3d : cvb.Point3D 3D Point with x-, y- and z-component.

Returns

cvb.Point3DC A 3D point with w component.

Creates a 3D point with confidence.

Parameters

x : float Data to initialize with.

y : float Data to initialize with.

z : float Data to initialize with.

w : float Data to initialize with.

Returns

cvb.Point3DC A 3D point with w component.

◆ normalize()

None normalize (   self)

Normalize the x-, y-, and z- with the w-component.

Property Documentation

◆ w

w = property
static

float: Gets or sets the w-component of the point.

◆ x

x = property
static

float: Gets or sets the x-component of the point.

◆ y

y = property
static

float: Gets or sets the y-component of the point.

◆ z

z = property
static

float: Gets or sets the z-component of the point.