Class IntrTriangle3Triangle3f
- java.lang.Object
-
- WildMagic.LibFoundation.Intersection.Intersector
-
- WildMagic.LibFoundation.Intersection.IntrTriangle3Triangle3f
-
- All Implemented Interfaces:
java.io.Serializable
public class IntrTriangle3Triangle3f 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 intm_iQuantityprivate Vector3f[]m_kPointprivate static longserialVersionUIDTriangle3fTriangle0Triangle3fTriangle1-
Fields inherited from class WildMagic.LibFoundation.Intersection.Intersector
m_fContactTime, m_iIntersectionType
-
-
Constructor Summary
Constructors Constructor Description IntrTriangle3Triangle3f()IntrTriangle3Triangle3f(Triangle3f triangle0, Triangle3f triangle1)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private booleanContainsPoint(Triangle3f triangle, Plane3f plane, Vector3f point)booleanFind()Static intersection queries.private booleanGetCoplanarIntersection(Plane3f plane, Triangle3f tri0, Triangle3f tri1)voidGetInterval(Triangle3f triangle, Line3f line, float[] distance, int[] sign, float[] param)Vector3fGetPoint(int i)intGetQuantity()Triangle3fGetTriangle0()Triangle3fGetTriangle1()private booleanIntersectsSegment(Plane3f plane, Triangle3f triangle, Vector3f end0, Vector3f end1)private voidProjectOntoAxis(Triangle3f triangle, Vector3f axis, float[] fmin, float[] fmax)booleanTest()Static intersection queries.private voidTrianglePlaneRelations(Triangle3f triangle, Plane3f plane, float[] distance, 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
-
Triangle0
public Triangle3f Triangle0
-
Triangle1
public Triangle3f Triangle1
-
m_iQuantity
private int m_iQuantity
-
m_kPoint
private Vector3f[] m_kPoint
-
-
Constructor Detail
-
IntrTriangle3Triangle3f
public IntrTriangle3Triangle3f()
-
IntrTriangle3Triangle3f
public IntrTriangle3Triangle3f(Triangle3f triangle0, Triangle3f triangle1)
-
-
Method Detail
-
GetTriangle0
public Triangle3f GetTriangle0()
-
GetTriangle1
public Triangle3f GetTriangle1()
-
Test
public boolean Test()
Description copied from class:IntersectorStatic 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:
Testin classIntersector- Returns:
- false
-
Find
public boolean Find()
Description copied from class:IntersectorStatic 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:
Findin classIntersector- Returns:
- false
-
GetQuantity
public int GetQuantity()
-
GetPoint
public Vector3f GetPoint(int i)
-
ProjectOntoAxis
private void ProjectOntoAxis(Triangle3f triangle, Vector3f axis, float[] fmin, float[] fmax)
-
TrianglePlaneRelations
private void TrianglePlaneRelations(Triangle3f triangle, Plane3f plane, float[] distance, int[] sign, int[] positive, int[] negative, int[] zero)
-
GetInterval
public void GetInterval(Triangle3f triangle, Line3f line, float[] distance, int[] sign, float[] param)
-
ContainsPoint
private boolean ContainsPoint(Triangle3f triangle, Plane3f plane, Vector3f point)
-
IntersectsSegment
private boolean IntersectsSegment(Plane3f plane, Triangle3f triangle, Vector3f end0, Vector3f end1)
-
GetCoplanarIntersection
private boolean GetCoplanarIntersection(Plane3f plane, Triangle3f tri0, Triangle3f tri1)
-
-