Class Point1d

    • Constructor Detail

      • Point1d

        public Point1d​(Vector1D<?,​?,​?> tuple)
        Construct a zero vector.
        Parameters:
        tuple - the tuple to copy.
      • Point1d

        public Point1d​(Point1D<?,​?,​?> tuple)
        Construct a zero vector.
        Parameters:
        tuple - the tuple to copy.
      • Point1d

        public Point1d​(Segment1D<?,​?> segment)
        Construct a zero vector.
        Parameters:
        segment - the segment associated to the vector.
      • Point1d

        public Point1d()
        Construct a zero vector.
      • Point1d

        public Point1d​(Segment1D<?,​?> segment,
                       Tuple2D<?> tuple)
        Constructor by copy.
        Parameters:
        segment - the segment associated to the vector.
        tuple - is the tuple to copy.
      • Point1d

        public Point1d​(Segment1D<?,​?> segment,
                       int[] tuple)
        Constructor by copy.
        Parameters:
        segment - the segment associated to the vector.
        tuple - is the tuple to copy.
      • Point1d

        public Point1d​(Segment1D<?,​?> segment,
                       double[] tuple)
        Constructor by copy.
        Parameters:
        segment - the segment associated to the vector.
        tuple - is the tuple to copy.
      • Point1d

        public Point1d​(Segment1D<?,​?> segment,
                       int x,
                       int y)
        Construct a vector with the given coordinates.
        Parameters:
        segment - the segment associated to the vector.
        x - x coordinate.
        y - y coordinate.
      • Point1d

        public Point1d​(Segment1D<?,​?> segment,
                       float x,
                       float y)
        Construct a vector with the given coordinates.
        Parameters:
        segment - the segment associated to the vector.
        x - x coordinate.
        y - y coordinate.
      • Point1d

        public Point1d​(Segment1D<?,​?> segment,
                       double x,
                       double y)
        Construct a vector with the given coordinates.
        Parameters:
        segment - the segment associated to the vector.
        x - x coordinate.
        y - y coordinate.
      • Point1d

        public Point1d​(Segment1D<?,​?> segment,
                       long x,
                       long y)
        Construct a vector with the given coordinates.
        Parameters:
        segment - the segment associated to the vector.
        x - x coordinate.
        y - y coordinate.