return the angle corresponding to the total arclength of the polyline on a unit sphere . concode_field_sep int numVertices concode_elem_sep S2Point[] vertices concode_elem_sep String TAG concode_field_sep int getNearestEdgeIndex concode_elem_sep int numVertices concode_elem_sep S2Cap getCapBound concode_elem_sep boolean contains concode_elem_sep S2Point vertex concode_elem_sep boolean mayIntersect concode_elem_sep int hashCode concode_elem_sep boolean isValid concode_elem_sep boolean equals concode_elem_sep S2Point interpolate concode_elem_sep S2LatLngRect getRectBound concode_elem_sep S2Point projectToEdge
S1Angle function ( ) { double loc0 = 0 ; for ( int loc1 = 1 ; loc1 < numVertices ( ) ; ++ loc1 ) { loc0 += vertex ( loc1 - 1 ) . angle ( vertex ( loc1 ) ) ; } return S1Angle . radians ( loc0 ) ; }