Class ParametrizedS2Point

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<ParametrizedS2Point>

    @GwtCompatible(serializable=true)
    public final class ParametrizedS2Point
    extends java.lang.Object
    implements java.lang.Comparable<ParametrizedS2Point>, java.io.Serializable
    An S2Point that also has a parameter associated with it, which corresponds to a time-like order on the points.
    See Also:
    Serialized Form
    • Field Detail

      • time

        private final double time
      • point

        private final S2Point point
    • Constructor Detail

      • ParametrizedS2Point

        public ParametrizedS2Point​(double time,
                                   S2Point point)
    • Method Detail

      • getTime

        public double getTime()
      • getPoint

        public S2Point getPoint()
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object