This class is used for representation of 0D elements, i.e. points in the 3D space.
Warning - do not change the self.bounds This is an indication that this class does not take part in ray tracing activities
Methods
In the pure implementation of the line, there are no features to be deleted when a geometrical operation is executed
The color of the points on display
None as default, as points are not connected
A \((N,3)\) numpy.ndarray representing the points position
This method is in charge of updating the position of the point cloud (provided it exists) when the Line is rotated.
There is an exception handling because there is the possibility that the line is translated before the points are defined. This is extremely unlikely, but should not stop the program execution.
This method is in charge of updating the position of the point cloud (provided it exists) when the Line is translated.
There is an exception handling because there is the possibility that the line is translated before the points are defined. This is extremely unlikely, but should not stop the program execution.
Toggles between visibility of each point or only their bounding box