newton.GeoType#

class newton.GeoType(*values)[source]#

Bases: IntEnum

Enumeration of geometric shape types supported in Newton.

Each member represents a different primitive or mesh-based geometry that can be used for collision, rendering, or simulation.

BOX = 7#

Axis-aligned box.

CAPSULE = 4#

Capsule (cylinder with hemispherical ends).

CONE = 9#

Cone.

CONVEX_MESH = 10#

Convex hull.

CYLINDER = 6#

Cylinder.

ELLIPSOID = 5#

Ellipsoid.

HFIELD = 2#

Height field (terrain).

MESH = 8#

Triangle mesh.

NONE = 0#

No geometry (placeholder).

PLANE = 1#

Plane.

SPHERE = 3#

Sphere.