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.

GAUSSIAN = 11#

Gaussian splat.

HFIELD = 2#

Height field (terrain).

MESH = 8#

Triangle mesh.

NONE = 0#

No geometry (placeholder).

PLANE = 1#

Plane.

SPHERE = 3#

Sphere.

property is_explicit: bool#

Return whether this is an explicit (data-driven) shape type.

property is_primitive: bool#

Return whether this is a primitive (analytically defined) shape type.