# Spherical Geometry Operators Using the S2 Geometry Library

## Documentation for package ‘s2’ version 1.0.4

- DESCRIPTION file.

## Help Pages

A S

## -- A --

as.data.frame.s2_lnglat | Create an S2 LngLat Vector
as.data.frame.s2_point | Create an S2 Point Vector
as.matrix.s2_lnglat | Create an S2 LngLat Vector
as.matrix.s2_point | Create an S2 Point Vector
as_s2_geography | Create an S2 Geography Vector
as_s2_geography.blob | Create an S2 Geography Vector
as_s2_geography.character | Create an S2 Geography Vector
as_s2_geography.default | Create an S2 Geography Vector
as_s2_geography.logical | Create an S2 Geography Vector
as_s2_geography.s2_geography | Create an S2 Geography Vector
as_s2_geography.s2_lnglat | Create an S2 Geography Vector
as_s2_geography.s2_point | Create an S2 Geography Vector
as_s2_geography.WKB | Create an S2 Geography Vector
as_s2_geography.wk_wkb | Create an S2 Geography Vector
as_s2_geography.wk_wkt | Create an S2 Geography Vector
as_s2_lnglat | Create an S2 LngLat Vector
as_s2_lnglat.matrix | Create an S2 LngLat Vector
as_s2_lnglat.s2_geography | Create an S2 LngLat Vector
as_s2_lnglat.s2_lnglat | Create an S2 LngLat Vector
as_s2_lnglat.s2_point | Create an S2 LngLat Vector
as_s2_point | Create an S2 Point Vector
as_s2_point.matrix | Create an S2 Point Vector
as_s2_point.s2_geography | Create an S2 Point Vector
as_s2_point.s2_lnglat | Create an S2 Point Vector
as_s2_point.s2_point | Create an S2 Point Vector
as_wkb.s2_geography | Create an S2 Geography Vector
as_wkb.s2_lnglat | Create an S2 LngLat Vector
as_wkt.s2_geography | Create an S2 Geography Vector
as_wkt.s2_lnglat | Create an S2 LngLat Vector

## -- S --

s2_area | S2 Geography Accessors
s2_as_binary | Create and Format Geography Vectors
s2_as_text | Create and Format Geography Vectors
s2_boundary | S2 Geography Transformations
s2_bounds_cap | Compute feature-wise and aggregate bounds
s2_bounds_rect | Compute feature-wise and aggregate bounds
s2_buffer_cells | S2 Geography Transformations
s2_centroid | S2 Geography Transformations
s2_centroid_agg | S2 Geography Transformations
s2_closest_feature | Matrix Functions
s2_closest_point | S2 Geography Transformations
s2_contains | S2 Geography Predicates
s2_contains_matrix | Matrix Functions
s2_covered_by | S2 Geography Predicates
s2_covered_by_matrix | Matrix Functions
s2_covers | S2 Geography Predicates
s2_covers_matrix | Matrix Functions
s2_data_cities | Low-resolution world boundaries, timezones, and cities
s2_data_countries | Low-resolution world boundaries, timezones, and cities
s2_data_tbl_cities | Low-resolution world boundaries, timezones, and cities
s2_data_tbl_countries | Low-resolution world boundaries, timezones, and cities
s2_data_tbl_timezones | Low-resolution world boundaries, timezones, and cities
s2_data_timezones | Low-resolution world boundaries, timezones, and cities
s2_difference | S2 Geography Transformations
s2_dimension | S2 Geography Accessors
s2_disjoint | S2 Geography Predicates
s2_disjoint_matrix | Matrix Functions
s2_distance | S2 Geography Accessors
s2_distance_matrix | Matrix Functions
s2_dwithin | S2 Geography Predicates
s2_dwithin_matrix | Matrix Functions
s2_earth_radius_meters | Earth Constants
s2_equals | S2 Geography Predicates
s2_equals_matrix | Matrix Functions
s2_farthest_feature | Matrix Functions
s2_geog_from_text | Create and Format Geography Vectors
s2_geog_from_wkb | Create and Format Geography Vectors
s2_geog_point | Create and Format Geography Vectors
s2_intersection | S2 Geography Transformations
s2_intersects | S2 Geography Predicates
s2_intersects_box | S2 Geography Predicates
s2_intersects_matrix | Matrix Functions
s2_is_collection | S2 Geography Accessors
s2_is_empty | S2 Geography Accessors
s2_length | S2 Geography Accessors
s2_lnglat | Create an S2 LngLat Vector
s2_make_line | Create and Format Geography Vectors
s2_make_polygon | Create and Format Geography Vectors
s2_max_distance | S2 Geography Accessors
s2_max_distance_matrix | Matrix Functions
s2_may_intersect_matrix | Matrix Functions
s2_minimum_clearance_line_between | S2 Geography Transformations
s2_num_points | S2 Geography Accessors
s2_options | Geography Operation Options
s2_perimeter | S2 Geography Accessors
s2_point | Create an S2 Point Vector
s2_rebuild | S2 Geography Transformations
s2_simplify | S2 Geography Transformations
s2_snap_distance | Geography Operation Options
s2_snap_identity | Geography Operation Options
s2_snap_level | Geography Operation Options
s2_snap_precision | Geography Operation Options
s2_snap_to_grid | S2 Geography Transformations
s2_sym_difference | S2 Geography Transformations
s2_touches | S2 Geography Predicates
s2_touches_matrix | Matrix Functions
s2_union | S2 Geography Transformations
s2_union_agg | S2 Geography Transformations
s2_within | S2 Geography Predicates
s2_within_matrix | Matrix Functions
s2_x | S2 Geography Accessors
s2_y | S2 Geography Accessors