|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectespresso3d.engine.base.E3DEngineItem
espresso3d.engine.viewport.frustum.E3DViewFrustum2D
| Constructor Summary | |
E3DViewFrustum2D(E3DEngine engine,
E3DViewport viewport,
E3DVector3F minMin,
E3DVector3F minMax,
E3DVector3F maxMax,
E3DVector3F maxMin)
|
|
| Method Summary | |
E3DVector3F |
get2DLineIntersectionPt(E3DVector3F ptA,
E3DVector3F ptB,
E3DVector3F ptC,
E3DVector3F ptD)
Get the intersection pt of two 2d lines made of A->B and C->D. |
E3DVector3F |
getA()
Get corner A projected into 2D space of the frustum |
E3DVector3F |
getB()
Get corner B projected into 2D space of the frustum |
E3DVector3F |
getC()
Get corner C projected into 2D space of the frustum |
E3DVector3F |
getD()
Get corner C projected into 2D space of the frustum |
E3DViewport |
getViewport()
|
boolean |
isPortalInFrustum(E3DPortal portal)
Check if a Portal is in view of the frustum. |
boolean |
projectedPointInFrustum(E3DVector3F point)
See if a projected point lies within the frustum |
void |
setA(E3DVector3F a)
Set corner A of the frustum . |
void |
setB(E3DVector3F b)
Set corner B of the frustum . |
void |
setC(E3DVector3F c)
Set corner C of the frustum . |
void |
setD(E3DVector3F d)
Set corner D of the frustum . |
| Methods inherited from class espresso3d.engine.base.E3DEngineItem |
getEngine, setEngine |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public E3DViewFrustum2D(E3DEngine engine,
E3DViewport viewport,
E3DVector3F minMin,
E3DVector3F minMax,
E3DVector3F maxMax,
E3DVector3F maxMin)
| Method Detail |
public boolean isPortalInFrustum(E3DPortal portal)
public E3DVector3F get2DLineIntersectionPt(E3DVector3F ptA,
E3DVector3F ptB,
E3DVector3F ptC,
E3DVector3F ptD)
ptA - First point of segment1ptB - Second point of segment1ptC - First point of segment2ptD - Second point of segment2
public boolean projectedPointInFrustum(E3DVector3F point)
point -
public E3DVector3F getA()
public void setA(E3DVector3F a)
a - public E3DVector3F getB()
public void setB(E3DVector3F b)
public E3DVector3F getC()
public void setC(E3DVector3F c)
public E3DVector3F getD()
public void setD(E3DVector3F d)
public E3DViewport getViewport()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||