IDS peak ICV v1.2.0
Loading...
Searching...
No Matches
PointXYZ Class Reference
Inheritance diagram for PointXYZ:

Public Member Functions

None __init__ (self, float x, float y, float z)
 Creates a point with x, y and z float channels.
 
bool __eq__ (self, object other)
 Check if two points of type PointXYZ are equal.
 
bool __ne__ (self, object other)
 Check if two points of type PointXYZ are not equal.
 
bool __gt__ (self, object other)
 Check if a point of type PointXYZ is greater than another point of type PointXYZ.
 
bool __lt__ (self, object other)
 
str __str__ (self)
 Get a string representation of the PointXYZ.
 

Data Fields

 x = np.float32(x)
 
 y = np.float32(y)
 
 z = np.float32(z)
 
int x = 3:
 

Detailed Description

Represents a point in 3D space.

Since
ids_peak_icv 1.1

Definition at line 5 of file point_xyz.py.

Constructor & Destructor Documentation

◆ __init__()

None __init__ ( self,
float x,
float y,
float z )

Creates a point with x, y and z float channels.

Parameters
xx coordinate
yy coordinate
zz coordinate
Since
ids_peak_icv 1.1

Reimplemented in PointXYZI.

Definition at line 15 of file point_xyz.py.

Member Function Documentation

◆ __eq__()

bool __eq__ ( self,
object other )

Check if two points of type PointXYZ are equal.

Parameters
otherAnother PointXYZ object OR List of coordinates [x, y, z] OR Tuple of coordinates (x, y, z)
Returns
True if points are equal, False otherwise
Since
ids_peak_icv 1.1

Reimplemented in PointXYZI.

Definition at line 30 of file point_xyz.py.

◆ __gt__()

bool __gt__ ( self,
object other )

Check if a point of type PointXYZ is greater than another point of type PointXYZ.

Parameters
otherAnother peak_icv_point_xyz
Returns
True if point of type PointXYZ is greater than, False otherwise
Since
ids_peak_icv 1.1

Reimplemented in PointXYZI.

Definition at line 68 of file point_xyz.py.

◆ __lt__()

bool __lt__ ( self,
object other )

Reimplemented in PointXYZI.

Definition at line 103 of file point_xyz.py.

◆ __ne__()

bool __ne__ ( self,
object other )

Check if two points of type PointXYZ are not equal.

Parameters
otherAnother PointXYZ
Returns
True if points are not equal, False otherwise
Since
ids_peak_icv 1.1

Reimplemented in PointXYZI.

Definition at line 55 of file point_xyz.py.

◆ __str__()

str __str__ ( self)

Get a string representation of the PointXYZ.

Returns
String representation of the PointXYZ
Since
ids_peak_icv 1.1

Reimplemented in PointXYZI.

Definition at line 106 of file point_xyz.py.

Field Documentation

◆ x [1/2]

x = np.float32(x)

Definition at line 26 of file point_xyz.py.

◆ x [2/2]

int x = 3:

Definition at line 45 of file point_xyz.py.

◆ y

y = np.float32(y)

Definition at line 27 of file point_xyz.py.

◆ z

z = np.float32(z)

Definition at line 28 of file point_xyz.py.