get_line_cgo
#
- biotite.interface.pymol.get_line_cgo(pos, color, width=1.0)[source]#
Get the CGO for a line following the given positions.
- Parameters:
- posarray-like, shape=(n,3)
The line follows these positions.
- colorarray-like, shape=(3,) or shape=(n,3)
The color of the line given as RGB values in the range (0, 1). Either one color can be given that is used for all positions or an individual color for each position can be supplied.
- widthfloat, optional
The rendered width of the line. The width is only visible after calling
ray()
.
- Returns:
- cgolist of float
The CGO representation.