Package com.google.common.geometry
Class S2Point.Builder
- java.lang.Object
-
- com.google.common.geometry.S2Point.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructs a new builder initialized toS2Point.ORIGIN
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description S2Point.Builder
add(S2Point point)
Adds point.S2Point
build()
Returns a newS2Point
copied from the current state of this builder.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructs a new builder initialized toS2Point.ORIGIN
.
-
-
Method Detail
-
add
@CanIgnoreReturnValue public S2Point.Builder add(S2Point point)
Adds point.
-
-