S2Polyline.initialize

Initialize a polyline that connects the given vertices. Empty polylines are allowed. Adjacent vertices should not be identical or antipodal. All vertices should be unit length.

  1. void initialize(S2Point[] vertices)
    class S2Polyline
    void
    initialize
  2. void initialize(S2LatLng[] vertices)

Meta