# Package com.codename1.gaming.physics.box2d.collision.shapes

package com.codename1.gaming.physics.box2d.collision.shapes

Collision shape definitions (circle, polygon, edge and chain) for the box2d physics engine.

Part of the box2d simulation engine, a derived work of JBox2D used under the BSD 2-Clause license; see `com.codename1.gaming.physics` for attribution.

- Related Packages
  Package
  Description
  com.codename1.gaming.physics.box2d.collision
  Collision detection primitives (AABBs, manifolds, distance and time of impact queries) for the box2d physics engine.
  com.codename1.gaming.physics.box2d.collision.broadphase
  Broad phase collision detection (dynamic tree and pair management) for the box2d physics engine.
- Class
  Description
  ChainShape
  A chain shape is a free form sequence of line segments.
  CircleShape
  A circle shape.
  EdgeShape
  A line segment (edge) shape.
  MassData
  This holds the mass data computed for a shape.
  PolygonShape
  A convex polygon shape.
  Shape
  A shape is used for collision detection.
  ShapeType
  Types of shapes