Class IntrLine2Triangle2f
- java.lang.Object
-
- WildMagic.LibFoundation.Intersection.Intersector
-
- WildMagic.LibFoundation.Intersection.IntrLine2Triangle2f
-
- All Implemented Interfaces:
java.io.Serializable
public class IntrLine2Triangle2f 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 Line2f
Line
private int
m_iQuantity
private Vector2f[]
m_kPoint
private static long
serialVersionUID
Triangle2f
Triangle
-
Fields inherited from class WildMagic.LibFoundation.Intersection.Intersector
m_fContactTime, m_iIntersectionType
-
-
Constructor Summary
Constructors Constructor Description IntrLine2Triangle2f()
IntrLine2Triangle2f(Line2f rkLine, Triangle2f rkTriangle)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
Find()
Static intersection queries.static void
GetInterval(Vector2f origin, Vector2f direction, Triangle2f triangle, float[] dist, int[] sign, float[] param)
Line2f
GetLine()
Triangle2f
GetTriangle()
boolean
Test()
Static intersection queries.static void
TriangleLineRelations(Vector2f origin, Vector2f direction, Triangle2f triangle, float[] dist, int[] sign, int[] positive, int[] negative, int[] zero)
-
Methods inherited from class WildMagic.LibFoundation.Intersection.Intersector
GetContactTime, GetIntersectionType
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
Line
public Line2f Line
-
Triangle
public Triangle2f Triangle
-
m_iQuantity
private int m_iQuantity
-
m_kPoint
private Vector2f[] m_kPoint
-
-
Constructor Detail
-
IntrLine2Triangle2f
public IntrLine2Triangle2f()
-
IntrLine2Triangle2f
public IntrLine2Triangle2f(Line2f rkLine, Triangle2f rkTriangle)
-
-
Method Detail
-
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
-
GetLine
public final Line2f GetLine()
-
GetTriangle
public final Triangle2f GetTriangle()
-
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
-
TriangleLineRelations
public static void TriangleLineRelations(Vector2f origin, Vector2f direction, Triangle2f triangle, float[] dist, int[] sign, int[] positive, int[] negative, int[] zero)
-
GetInterval
public static void GetInterval(Vector2f origin, Vector2f direction, Triangle2f triangle, float[] dist, int[] sign, float[] param)
-
-