|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jbox2d.collision.OBB
public class OBB
An oriented bounding box.
Field Summary | |
---|---|
Vec2 |
center
The local centroid. |
Vec2 |
extents
The half-widths. |
Mat22 |
R
The rotation matrix. |
Constructor Summary | |
---|---|
OBB()
|
|
OBB(Mat22 _R,
Vec2 _center,
Vec2 _extents)
creates OBB with the given data. |
|
OBB(OBB copy)
copies from the given OBB |
Method Summary | |
---|---|
OBB |
clone()
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final Mat22 R
public final Vec2 center
public final Vec2 extents
Constructor Detail |
---|
public OBB(Mat22 _R, Vec2 _center, Vec2 _extents)
_R
- _center
- _extents
- public OBB(OBB copy)
copy
- public OBB()
Method Detail |
---|
public OBB clone()
clone
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |