Class ImmutablePoint1D<S extends Segment1D<?,​?>>

    • Constructor Detail

      • ImmutablePoint1D

        public ImmutablePoint1D​(S segment,
                                double x,
                                double y)
        Constructor.
        Parameters:
        segment - the segment.
        x - x coordinate.
        y - y coordinate.
      • ImmutablePoint1D

        public ImmutablePoint1D​(S segment,
                                int x,
                                int y)
        Constructor.
        Parameters:
        segment - the segment.
        x - x coordinate.
        y - y coordinate.