Class IntrLine3Box3f
- java.lang.Object
-
- WildMagic.LibFoundation.Intersection.Intersector
-
- WildMagic.LibFoundation.Intersection.IntrLine3Box3f
-
- All Implemented Interfaces:
java.io.Serializable
public class IntrLine3Box3f extends Intersector implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class WildMagic.LibFoundation.Intersection.Intersector
Intersector.IntersectionInfo
-
-
Field Summary
Fields Modifier and Type Field Description private Vector3f[]
m_akPoint
private int
m_iQuantity
private Box3f
m_rkBox
private Line3f
m_rkLine
private static long
serialVersionUID
-
Fields inherited from class WildMagic.LibFoundation.Intersection.Intersector
m_fContactTime, m_iIntersectionType
-
-
Constructor Summary
Constructors Constructor Description IntrLine3Box3f(Line3f rkLine, Box3f rkBox)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static boolean
Clip(float fDenom, float fNumer, float[] rfT0, float[] rfT1)
static boolean
DoClipping(float[] fT0, float[] fT1, Vector3f rkOrigin, Vector3f rkDirection, Box3f rkBox, boolean bSolid, int[] riQuantity, Vector3f[] akPoint, Intersector.IntersectionInfo[] riIntrType)
boolean
Find()
Static intersection queries.Box3f
GetBox()
Line3f
GetLine()
Vector3f
GetPoint(int i)
int
GetQuantity()
boolean
Test()
Static intersection queries.-
Methods inherited from class WildMagic.LibFoundation.Intersection.Intersector
GetContactTime, GetIntersectionType
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
m_rkLine
private Line3f m_rkLine
-
m_rkBox
private Box3f m_rkBox
-
m_iQuantity
private int m_iQuantity
-
m_akPoint
private Vector3f[] m_akPoint
-
-
Method Detail
-
DoClipping
public static boolean DoClipping(float[] fT0, float[] fT1, Vector3f rkOrigin, Vector3f rkDirection, Box3f rkBox, boolean bSolid, int[] riQuantity, Vector3f[] akPoint, Intersector.IntersectionInfo[] riIntrType)
-
Clip
private static boolean Clip(float fDenom, float fNumer, float[] rfT0, float[] rfT1)
-
Find
public boolean Find()
Description copied from class:Intersector
Static intersection queries. The default implementations return 'false'. The Find query produces a set of intersection. The derived class is responsible for providing access to that set, since the nature of the set is dependent on the object types.- Overrides:
Find
in classIntersector
- Returns:
- false
-
GetBox
public final Box3f GetBox()
-
GetLine
public final Line3f GetLine()
-
GetPoint
public final Vector3f GetPoint(int i)
-
GetQuantity
public int GetQuantity()
-
Test
public boolean Test()
Description copied from class:Intersector
Static intersection queries. The default implementations return 'false'. The Find query produces a set of intersection. The derived class is responsible for providing access to that set, since the nature of the set is dependent on the object types.- Overrides:
Test
in classIntersector
- Returns:
- false
-
-