This class is used for representation of 1D elements, i.e. lines and curves in the 3D space.
Warning - do not change the self.bounds property value. 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 line as an RGB vector or an \((N,3)\) vector for color varying lines
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.
Toggle line visibility
Line plotting width