|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jbox2d.util.blob.CircularBlobContainer
public class CircularBlobContainer
A circular blob container specified by radius and center.
| Constructor Summary | |
|---|---|
CircularBlobContainer(Vec2 _center,
float _radius)
|
|
| Method Summary | |
|---|---|
boolean |
containsPoint(Vec2 p)
Is the Vec2 within the desired geometry? |
AABB |
getAABB()
Get the world AABB of the container. |
Vec2 |
getCenter()
|
float |
getRadius()
|
void |
setCenter(Vec2 c)
|
void |
setRadius(float r)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CircularBlobContainer(Vec2 _center,
float _radius)
| Method Detail |
|---|
public float getRadius()
public void setRadius(float r)
public Vec2 getCenter()
public void setCenter(Vec2 c)
public boolean containsPoint(Vec2 p)
BlobContainer
containsPoint in interface BlobContainerp - The point to test
public AABB getAABB()
BlobContainer
getAABB in interface BlobContainer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||