mjtGeom — type of geometric shape. From MuJoCo's headers, as numbers. All 20 values carry a number in the header.
Summary
Functions
mjGEOM_ARROW1 is 101 — arrow without wedges.
mjGEOM_ARROW2 is 102 — arrow in both directions.
mjGEOM_ARROW is 100 — arrow.
mjGEOM_BOX is 6 — box.
mjGEOM_CAPSULE is 3 — capsule.
mjGEOM_CYLINDER is 5 — cylinder.
mjGEOM_ELLIPSOID is 4 — ellipsoid.
mjGEOM_FLEX is 105 — flex.
mjGEOM_HFIELD is 1 — height field.
mjGEOM_LABEL is 107 — text label.
mjGEOM_LINE is 103 — line.
mjGEOM_LINEBOX is 104 — box with line edges.
mjGEOM_MESH is 7 — mesh.
mjNGEOMTYPES is 9 — number of regular geom types.
mjGEOM_NONE is 1001 — missing geom type.
mjGEOM_PLANE is 0 — plane.
mjGEOM_SDF is 8 — signed distance field.
mjGEOM_SKIN is 106 — skin.
mjGEOM_SPHERE is 2 — sphere.
The name behind an integer. An atom is already one.
The integer behind a name. An integer is already one.
mjGEOM_TRIANGLE is 108 — triangle.
Every value, as {name, integer}, in the order the header lists them.
Types
@type t() :: integer()
Functions
@spec arrow1() :: 101
mjGEOM_ARROW1 is 101 — arrow without wedges.
@spec arrow2() :: 102
mjGEOM_ARROW2 is 102 — arrow in both directions.
@spec arrow() :: 100
mjGEOM_ARROW is 100 — arrow.
@spec box() :: 6
mjGEOM_BOX is 6 — box.
@spec capsule() :: 3
mjGEOM_CAPSULE is 3 — capsule.
@spec cylinder() :: 5
mjGEOM_CYLINDER is 5 — cylinder.
@spec ellipsoid() :: 4
mjGEOM_ELLIPSOID is 4 — ellipsoid.
@spec flex() :: 105
mjGEOM_FLEX is 105 — flex.
@spec hfield() :: 1
mjGEOM_HFIELD is 1 — height field.
@spec label() :: 107
mjGEOM_LABEL is 107 — text label.
@spec line() :: 103
mjGEOM_LINE is 103 — line.
@spec linebox() :: 104
mjGEOM_LINEBOX is 104 — box with line edges.
@spec mesh() :: 7
mjGEOM_MESH is 7 — mesh.
@spec mjngeomtypes() :: 9
mjNGEOMTYPES is 9 — number of regular geom types.
@spec none() :: 1001
mjGEOM_NONE is 1001 — missing geom type.
@spec plane() :: 0
mjGEOM_PLANE is 0 — plane.
@spec sdf() :: 8
mjGEOM_SDF is 8 — signed distance field.
@spec skin() :: 106
mjGEOM_SKIN is 106 — skin.
@spec sphere() :: 2
mjGEOM_SPHERE is 2 — sphere.
The name behind an integer. An atom is already one.
The integer behind a name. An integer is already one.
@spec triangle() :: 108
mjGEOM_TRIANGLE is 108 — triangle.
Every value, as {name, integer}, in the order the header lists them.