Package | Description |
---|---|
org.jbox2d.collision | |
org.jbox2d.collision.shapes | |
org.jbox2d.dynamics |
Modifier and Type | Method and Description |
---|---|
void |
Distance.DistanceProxy.set(Shape shape,
int index)
Initialize the proxy using the given shape.
|
boolean |
Collision.testOverlap(Shape shapeA,
int indexA,
Shape shapeB,
int indexB,
Transform xfA,
Transform xfB)
Determine if two generic shapes overlap.
|
Modifier and Type | Class and Description |
---|---|
class |
ChainShape
A chain shape is a free form sequence of line segments.
|
class |
CircleShape
A circle shape.
|
class |
EdgeShape
A line segment (edge) shape.
|
class |
PolygonShape
A convex polygon shape.
|
Modifier and Type | Method and Description |
---|---|
Shape |
EdgeShape.clone() |
Shape |
ChainShape.clone() |
Shape |
PolygonShape.clone() |
abstract Shape |
Shape.clone() |
Shape |
CircleShape.clone() |
Modifier and Type | Field and Description |
---|---|
Shape |
Fixture.m_shape |
Shape |
FixtureDef.shape
The shape, this must be set.
|
Modifier and Type | Method and Description |
---|---|
Shape |
Fixture.getShape()
Get the child shape.
|
Modifier and Type | Method and Description |
---|---|
Fixture |
Body.createFixture(Shape shape,
float density)
Creates a fixture from a shape and attach it to this body.
|
Copyright © 2017. All Rights Reserved.