public class S2Point extends Object implements Comparable<S2Point>
| Constructor and Description |
|---|
S2Point() |
S2Point(double x,
double y,
double z) |
| Modifier and Type | Method and Description |
|---|---|
static S2Point |
add(S2Point p1,
S2Point p2) |
double |
angle(S2Point va) |
int |
compareTo(S2Point other) |
static S2Point |
crossProd(S2Point p1,
S2Point p2) |
static S2Point |
div(S2Point p,
double m) |
double |
dotProd(S2Point that) |
boolean |
equals(Object that) |
static S2Point |
fabs(S2Point p) |
double |
get(int axis) |
int |
hashCode() |
int |
largestAbsComponent() |
boolean |
lessThan(S2Point vb) |
static S2Point |
minus(S2Point p1,
S2Point p2) |
static S2Point |
mul(S2Point p,
double m) |
static S2Point |
neg(S2Point p) |
double |
norm() |
double |
norm2() |
static S2Point |
normalize(S2Point p) |
S2Point |
ortho() |
static S2Point |
sub(S2Point p1,
S2Point p2) |
String |
toDegreesString() |
String |
toString() |
public double norm2()
public double norm()
public double dotProd(S2Point that)
public S2Point ortho()
public int largestAbsComponent()
public double get(int axis)
public double angle(S2Point va)
public boolean equals(Object that)
public boolean lessThan(S2Point vb)
public int compareTo(S2Point other)
public String toString()
public String toDegreesString()
public int hashCode()
Copyright © 2017. All rights reserved.