Package com.google.common.geometry
Class S2Point.Builder
java.lang.Object
com.google.common.geometry.S2Point.Builder
- Enclosing class:
S2Point
A builder of
S2Point
instances.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
x
private double x -
y
private double y -
z
private double z
-
-
Constructor Details
-
Builder
public Builder()Constructs a new builder initialized toS2Point.ORIGIN
.
-
-
Method Details
-
add
Adds point. -
build
Returns a newS2Point
copied from the current state of this builder.
-