Package org.joml

Class LineSegmentd

    • Field Detail

      • aX

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

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

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

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

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

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

      • LineSegmentd

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

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

        public LineSegmentd​(double aX,
                            double aY,
                            double aZ,
                            double bX,
                            double bY,
                            double bZ)
        Create a new LineSegmentd 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