get_cone_cgo#

biotite.interface.pymol.get_cone_cgo(start, end, start_radius, end_radius, start_color, end_color, start_cap, end_cap)[source]#

Get the CGO for a cone.

Parameters:
start, endarray-like, shape=(3,)

The start and end position of the cone.

start_radius, end_radiusfloat

The radius of the cone at the start and end.

start_color, end_colorarray-like, shape=(3,)

The color at the start and end of the cone given as RGB values in the range (0, 1).

start_cap, end_capbool

If true, a cap is drawn at the start or end of the cone. Otherwise the cone is displayed as open.

Returns:
cgolist of float

The CGO representation.