pogona.Shapes

class pogona.Shapes(value)[source]

Bases: Enum

An enumeration.

Attributes

CUBE

A cube of side length 1 with (0, 0, 0) as its center point.

CYLINDER

A z-axis-aligned cylinder of radius 0.5 and height 1 with (0, 0, 0) as its center point.

SPHERE

A sphere of radius 0.5 with (0, 0, 0) as its center point.

POINT

A single point at (0, 0, 0).

NONE

Representation of non-existent geometries.

__init__()
CUBE = 1

A cube of side length 1 with (0, 0, 0) as its center point.

CYLINDER = 2

A z-axis-aligned cylinder of radius 0.5 and height 1 with (0, 0, 0) as its center point.

NONE = 5

Representation of non-existent geometries.

POINT = 4

A single point at (0, 0, 0). Does not support is_inside_geometry.

SPHERE = 3

A sphere of radius 0.5 with (0, 0, 0) as its center point.