Class Line3f

  • All Implemented Interfaces:
    java.io.Serializable

    public class Line3f
    extends java.lang.Object
    implements java.io.Serializable
    The line is represented as P+t*D where P is the line origin and D is a unit-length direction vector. The user must ensure that the direction vector satisfies this condition.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      Vector3f Direction
      Line Origin and Direction vectors The line is represented as P+t*D where P is the line origin and D is a unit-length direction vector.
      Vector3f Origin
      Line Origin and Direction vectors The line is represented as P+t*D where P is the line origin and D is a unit-length direction vector.
      private static long serialVersionUID  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void dispose()
      delete memory
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • Origin

        public Vector3f Origin
        Line Origin and Direction vectors The line is represented as P+t*D where P is the line origin and D is a unit-length direction vector. The user must ensure that the direction vector satisfies this condition.
      • Direction

        public Vector3f Direction
        Line Origin and Direction vectors The line is represented as P+t*D where P is the line origin and D is a unit-length direction vector. The user must ensure that the direction vector satisfies this condition.
    • Constructor Detail

      • Line3f

        public Line3f()
        construction
      • Line3f

        public Line3f​(Line3f rkLine)
        copy construction
        Parameters:
        rkLine - line
      • Line3f

        public Line3f​(Vector3f rkOrigin,
                      Vector3f rkDirection)
        construction
        Parameters:
        rkOrigin - line origin
        rkDirection - line direction unit-length
    • Method Detail

      • dispose

        public void dispose()
        delete memory