Package org.joml

Class LineSegmentf

    • Field Detail

      • aX

        public float aX
        The x coordinate of the first point.
      • aY

        public float aY
        The y coordinate of the first point.
      • aZ

        public float aZ
        The z coordinate of the first point.
      • bX

        public float bX
        The x coordinate of the second point.
      • bY

        public float bY
        The y coordinate of the second point.
      • bZ

        public float bZ
        The z coordinate of the second point.
    • Constructor Detail

      • LineSegmentf

        public LineSegmentf​()
        Create a new LineSegmentf of zero length on the point (0, 0, 0).
      • LineSegmentf

        public LineSegmentf​(Vector3fc a,
                            Vector3fc b)
        Create a new LineSegmentf between the given two points.
        Parameters:
        a - the first point
        b - the second point
      • LineSegmentf

        public LineSegmentf​(float aX,
                            float aY,
                            float aZ,
                            float bX,
                            float bY,
                            float bZ)
        Create a new LineSegmentf between the two points.
        Parameters:
        aX - the x coordinate of the first point
        aY - the y coordinate of the first point
        aZ - the z coordinate of the first point
        bX - the x coordinate of the second point
        bY - the y coordinate of the second point
        bZ - the z coordinate of the second point