Class IntrSegment3Triangle3f
- java.lang.Object
-
- WildMagic.LibFoundation.Intersection.Intersector
-
- WildMagic.LibFoundation.Intersection.IntrSegment3Triangle3f
-
- All Implemented Interfaces:
java.io.Serializable
public class IntrSegment3Triangle3f 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 float
m_fSegmentParameter
private int
m_iQuantity
private Vector3f[]
m_kPoint
private float
mTriBary0
private float
mTriBary1
private float
mTriBary2
Segment3f
Segment
private static long
serialVersionUID
Triangle3f
Triangle
-
Fields inherited from class WildMagic.LibFoundation.Intersection.Intersector
m_fContactTime, m_iIntersectionType
-
-
Constructor Summary
Constructors Constructor Description IntrSegment3Triangle3f()
IntrSegment3Triangle3f(Segment3f segment, Triangle3f triangle)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
Find()
Static intersection queries.Vector3f
GetPoint(int i)
int
GetQuantity()
Segment3f
GetSegment()
float
GetSegmentParameter()
Triangle3f
GetTriangle()
float
GetTriBary0()
float
GetTriBary1()
float
GetTriBary2()
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
-
Segment
public Segment3f Segment
-
Triangle
public Triangle3f Triangle
-
m_fSegmentParameter
private float m_fSegmentParameter
-
mTriBary0
private float mTriBary0
-
mTriBary1
private float mTriBary1
-
mTriBary2
private float mTriBary2
-
m_iQuantity
private int m_iQuantity
-
m_kPoint
private Vector3f[] m_kPoint
-
-
Constructor Detail
-
IntrSegment3Triangle3f
public IntrSegment3Triangle3f()
-
IntrSegment3Triangle3f
public IntrSegment3Triangle3f(Segment3f segment, Triangle3f triangle)
-
-
Method Detail
-
GetSegment
public Segment3f GetSegment()
-
GetTriangle
public Triangle3f 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
-
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
-
GetSegmentParameter
public float GetSegmentParameter()
-
GetTriBary0
public float GetTriBary0()
-
GetTriBary1
public float GetTriBary1()
-
GetTriBary2
public float GetTriBary2()
-
GetQuantity
public int GetQuantity()
-
GetPoint
public Vector3f GetPoint(int i)
-
-