Class IntrTriangle3Triangle3f

  • All Implemented Interfaces:
    java.io.Serializable

    public class IntrTriangle3Triangle3f
    extends Intersector
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Constructor Detail

      • IntrTriangle3Triangle3f

        public IntrTriangle3Triangle3f()
      • IntrTriangle3Triangle3f

        public IntrTriangle3Triangle3f​(Triangle3f triangle0,
                                       Triangle3f triangle1)
    • Method Detail

      • 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
      • 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
      • 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

        private void GetInterval​(Triangle3f triangle,
                                 Line3f line,
                                 float[] distance,
                                 int[] sign,
                                 float[] param)