|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISphere
| Method Summary | |
|---|---|
IVector3 |
getCenter()
Returns the center point of the sphere. |
float |
getRadius()
Returns the radius of the sphere. |
boolean |
intersects(IAxisAlignedBox box)
Returns whether or not this sphere intersects a box. |
boolean |
intersects(IPlane plane)
Returns whether or not this sphere intersects a plane. |
boolean |
intersects(ISphere s)
Returns whether or not this sphere intersects another sphere. |
boolean |
intersects(IVector3 v)
Returns whether or not this sphere intersects a point. |
void |
setCenter(IVector3 center)
Sets the center point of the sphere. |
void |
setRadius(float radius)
Sets the radius of the sphere. |
| Methods inherited from interface org.xbig.base.INativeObject |
|---|
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer |
| Method Detail |
|---|
float getRadius()
void setRadius(float radius)
IVector3 getCenter()
void setCenter(IVector3 center)
boolean intersects(ISphere s)
boolean intersects(IAxisAlignedBox box)
boolean intersects(IPlane plane)
boolean intersects(IVector3 v)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||