Class S2Point.Builder

  • Enclosing class:
    S2Point

    public static final class S2Point.Builder
    extends java.lang.Object
    A builder of S2Point instances.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private double x  
      private double y  
      private double z  
    • Constructor Summary

      Constructors 
      Constructor Description
      Builder()
      Constructs a new builder initialized to S2Point.ORIGIN.
    • Field Detail

      • x

        private double x
      • y

        private double y
      • z

        private double z
    • Constructor Detail

      • Builder

        public Builder()
        Constructs a new builder initialized to S2Point.ORIGIN.
    • Method Detail

      • build

        public S2Point build()
        Returns a new S2Point copied from the current state of this builder.