Class IntrLine2Triangle2f

  • All Implemented Interfaces:
    java.io.Serializable

    public class IntrLine2Triangle2f
    extends Intersector
    implements java.io.Serializable
    See Also:
    Serialized Form
    • 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 class Intersector
        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 class Intersector
        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)