ExMujoco.Types.MeshBuiltin (ExMujoco v0.1.1)

Copy Markdown View Source

mjtMeshBuiltin, from MuJoCo's headers, as numbers. All 14 values carry a number in the header.

Summary

Functions

mjMESH_BUILTIN_BOX is 9.

mjMESH_BUILTIN_CONE is 3.

mjMESH_BUILTIN_CYLINDER is 10.

mjMESH_BUILTIN_DISC is 13.

mjMESH_BUILTIN_ELLIPSOID is 11.

mjMESH_BUILTIN_GRID is 8.

mjMESH_BUILTIN_HEMISPHERE is 2.

mjMESH_BUILTIN_NONE is 0.

mjMESH_BUILTIN_PLATE is 7.

mjMESH_BUILTIN_SPHERE is 1.

mjMESH_BUILTIN_SQUARE is 12.

mjMESH_BUILTIN_SUPERSPHERE is 4.

mjMESH_BUILTIN_SUPERTORUS is 5.

mjMESH_BUILTIN_WEDGE is 6.

The name behind an integer. An atom is already one.

The integer behind a name. An integer is already one.

Every value, as {name, integer}, in the order the header lists them.

Types

t()

@type t() :: integer()

Functions

builtin_box()

@spec builtin_box() :: 9

mjMESH_BUILTIN_BOX is 9.

builtin_cone()

@spec builtin_cone() :: 3

mjMESH_BUILTIN_CONE is 3.

builtin_cylinder()

@spec builtin_cylinder() :: 10

mjMESH_BUILTIN_CYLINDER is 10.

builtin_disc()

@spec builtin_disc() :: 13

mjMESH_BUILTIN_DISC is 13.

builtin_ellipsoid()

@spec builtin_ellipsoid() :: 11

mjMESH_BUILTIN_ELLIPSOID is 11.

builtin_grid()

@spec builtin_grid() :: 8

mjMESH_BUILTIN_GRID is 8.

builtin_hemisphere()

@spec builtin_hemisphere() :: 2

mjMESH_BUILTIN_HEMISPHERE is 2.

builtin_none()

@spec builtin_none() :: 0

mjMESH_BUILTIN_NONE is 0.

builtin_plate()

@spec builtin_plate() :: 7

mjMESH_BUILTIN_PLATE is 7.

builtin_sphere()

@spec builtin_sphere() :: 1

mjMESH_BUILTIN_SPHERE is 1.

builtin_square()

@spec builtin_square() :: 12

mjMESH_BUILTIN_SQUARE is 12.

builtin_supersphere()

@spec builtin_supersphere() :: 4

mjMESH_BUILTIN_SUPERSPHERE is 4.

builtin_supertorus()

@spec builtin_supertorus() :: 5

mjMESH_BUILTIN_SUPERTORUS is 5.

builtin_wedge()

@spec builtin_wedge() :: 6

mjMESH_BUILTIN_WEDGE is 6.

to_atom(value)

@spec to_atom(integer() | atom()) :: atom() | nil

The name behind an integer. An atom is already one.

to_integer(value)

@spec to_integer(t() | atom()) :: integer() | nil

The integer behind a name. An integer is already one.

values()

@spec values() :: [{atom(), integer()}]

Every value, as {name, integer}, in the order the header lists them.