get_cylinder_cgo
#
- biotite.interface.pymol.get_cylinder_cgo(start, end, radius, start_color, end_color)[source]#
Get the CGO for a cylinder.
- Parameters:
- start, endarray-like, shape=(3,)
The start and end position of the cylinder.
- radiusfloat
The radius of the cylinder.
- start_color, end_colorarray-like, shape=(3,)
The color at the start and end of the cylinder given as RGB values in the range (0, 1).
- Returns:
- cgolist of float
The CGO representation.