Class IntrSegment2Triangle2f
- java.lang.Object
-
- WildMagic.LibFoundation.Intersection.Intersector
-
- WildMagic.LibFoundation.Intersection.IntrSegment2Triangle2f
-
- All Implemented Interfaces:
java.io.Serializable
public class IntrSegment2Triangle2f 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 Vector2f[]m_kPointSegment2fSegmentprivate static longserialVersionUIDTriangle2fTriangle-
Fields inherited from class WildMagic.LibFoundation.Intersection.Intersector
m_fContactTime, m_iIntersectionType
-
-
Constructor Summary
Constructors Constructor Description IntrSegment2Triangle2f()IntrSegment2Triangle2f(Segment2f segment, Triangle2f triangle)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanFind()Static intersection queries.Vector2fGetPoint(int i)intGetQuantity()Segment2fGetSegment()Triangle2fGetTriangle()booleanTest()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 Segment2f Segment
-
Triangle
public Triangle2f Triangle
-
m_iQuantity
private int m_iQuantity
-
m_kPoint
private Vector2f[] m_kPoint
-
-
Constructor Detail
-
IntrSegment2Triangle2f
public IntrSegment2Triangle2f()
-
IntrSegment2Triangle2f
public IntrSegment2Triangle2f(Segment2f segment, Triangle2f triangle)
-
-
Method Detail
-
GetSegment
public Segment2f GetSegment()
-
GetTriangle
public Triangle2f GetTriangle()
-
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 Vector2f GetPoint(int i)
-
-