Skip to content

Software

geometric_shapes

By MoveIt, from github.com/moveit/geometric_shapes (opens in a new tab)

  • Robot arms and industry
  • Library
  • BSD-3-Clause

A ROS package providing generic geometric shape and body definitions, plus routines for point containment and ray intersection on shapes and shape messages.

Facts

GitHub stars
61read on 28 Nov 2026
Last update
19 Jul 2026Newest commit on ros2
Maintenance
Maintaineda commit in the last 12 months
Difficulty
Intermediate

Checked on GitHub on 28 Nov 2026.

Licenses

Code
BSD-3-Clause (opens in a new tab)

Read by Robotheca from LICENSE (opens in a new tab) (BSD-3-Clause) at commit 0c165d8 (opens in a new tab), on 16 Oct 2026.

Commercial use
Yes

At a glance

What it is
  • Defines shapes for sphere, box, cone, cylinder and mesh.
  • Bodies are shapes placed at a particular pose.
  • Provides point containment and ray intersection routines for bodies.
  • Mesh bodies use the convex hull of the mesh for these routines.
  • Merges the former shape_tools package into this one.
  • Renames some Box and ConvexMesh members in the codebase.

Robotheca's summary of the project's documents, not the creator's words.

Robots on Robotheca
No robot on Robotheca uses it yet.
Licence
BSD-3-Clause. Commercial use: Yes. Where it was read
Install
In the creator's words: The project's README (opens in a new tab)
Maintenance
Maintained, last commit on 19 Jul 2026.

Use it

How to install it, in the creator's words: The project's README (opens in a new tab)

Robotheca doesn't review code. Read it before running it.

Files and versions

Facts read at commit 0c165d8

Robotheca never hosts the code: each link goes to the creator's own page.

The README

The creator's own README, copied as written: README.md by MoveIt, at commit 0c165d8, under BSD-3-Clause (opens in a new tab). The original on GitHub (opens in a new tab).

Read the README here

Geometric Shapes

This package contains generic definitions of geometric shapes and bodies, as well as tools for operating on shape messages. Shapes represent only the form of an object. Bodies are shapes at a particular pose. Routines such as point containment and ray intersections are provided.

Supported shapes:

  • sphere
  • box
  • cone
  • cylinder
  • mesh

Note: Bodies for meshes compute the convex hull of those meshes in order to provide the point containment / ray intersection routines.

Note: shape_tools (opens in a new tab) package was recently merged into this package

Note: bodies::Box::corner1_ was renamed to minCorner_ and bodies::Box::corner2_ to maxCorner_.

Note: bodies::ConvexMesh::MeshData was made implementation-private and is no longer accessible from the .h file.

Build Status

(opens in a new tab) (opens in a new tab) (opens in a new tab)

Code Coverage Grid:

Image: Code Coverage Grid (opens in a new tab) (opens in a new tab)

Devel Job: Image: Build Status (opens in a new tab) (opens in a new tab)

Debian Job: Image: Build Status (opens in a new tab) (opens in a new tab)

Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.