Class Triangle3f

  • All Implemented Interfaces:
    java.io.Serializable

    public class Triangle3f
    extends java.lang.Object
    implements java.io.Serializable
    The triangle is represented as an array of three vertices, V0, V1, and V2.
    See Also:
    Serialized Form
    • Constructor Detail

      • Triangle3f

        public Triangle3f()
        construction, uninitialized.
      • Triangle3f

        public Triangle3f​(Triangle3f kTri)
        construction, uninitialized.
    • Method Detail

      • dispose

        public void dispose()
        delete memory
      • DistanceTo

        public float DistanceTo​(Vector3f rkQ)
        Calculate distance from the point Q to the triangle
        Parameters:
        rkQ - point Q
        Returns:
        distance to triangle.