Package com.google.common.geometry
Class ParametrizedS2Point
- java.lang.Object
-
- com.google.common.geometry.ParametrizedS2Point
-
- All Implemented Interfaces:
Serializable,Comparable<ParametrizedS2Point>
@GwtCompatible(serializable=true) public final class ParametrizedS2Point extends Object implements Comparable<ParametrizedS2Point>, Serializable
An S2Point that also has a parameter associated with it, which corresponds to a time-like order on the points.- Author:
- kirilll@google.com (Kirill Levin)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ParametrizedS2Point(double time, S2Point point)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(ParametrizedS2Point o)booleanequals(Object other)S2PointgetPoint()doublegetTime()inthashCode()
-
-
-
Constructor Detail
-
ParametrizedS2Point
public ParametrizedS2Point(double time, S2Point point)
-
-
Method Detail
-
getTime
public double getTime()
-
getPoint
public S2Point getPoint()
-
compareTo
public int compareTo(ParametrizedS2Point o)
- Specified by:
compareToin interfaceComparable<ParametrizedS2Point>
-
-