File: s2_cell_is_valid.Rd

package info (click to toggle)
r-cran-s2 1.1.9-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,540 kB
  • sloc: cpp: 124,506; ansic: 2,639; pascal: 1,495; python: 354; sh: 139; makefile: 2
file content (82 lines) | stat: -rw-r--r-- 1,733 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/s2-cell.R
\name{s2_cell_is_valid}
\alias{s2_cell_is_valid}
\alias{s2_cell_debug_string}
\alias{s2_cell_to_lnglat}
\alias{s2_cell_center}
\alias{s2_cell_boundary}
\alias{s2_cell_polygon}
\alias{s2_cell_vertex}
\alias{s2_cell_level}
\alias{s2_cell_is_leaf}
\alias{s2_cell_is_face}
\alias{s2_cell_area}
\alias{s2_cell_area_approx}
\alias{s2_cell_parent}
\alias{s2_cell_child}
\alias{s2_cell_edge_neighbour}
\alias{s2_cell_contains}
\alias{s2_cell_distance}
\alias{s2_cell_max_distance}
\alias{s2_cell_may_intersect}
\alias{s2_cell_common_ancestor_level}
\alias{s2_cell_common_ancestor_level_agg}
\title{S2 cell operators}
\usage{
s2_cell_is_valid(x)

s2_cell_debug_string(x)

s2_cell_to_lnglat(x)

s2_cell_center(x)

s2_cell_boundary(x)

s2_cell_polygon(x)

s2_cell_vertex(x, k)

s2_cell_level(x)

s2_cell_is_leaf(x)

s2_cell_is_face(x)

s2_cell_area(x, radius = s2_earth_radius_meters())

s2_cell_area_approx(x, radius = s2_earth_radius_meters())

s2_cell_parent(x, level = -1L)

s2_cell_child(x, k)

s2_cell_edge_neighbour(x, k)

s2_cell_contains(x, y)

s2_cell_distance(x, y, radius = s2_earth_radius_meters())

s2_cell_max_distance(x, y, radius = s2_earth_radius_meters())

s2_cell_may_intersect(x, y)

s2_cell_common_ancestor_level(x, y)

s2_cell_common_ancestor_level_agg(x, na.rm = FALSE)
}
\arguments{
\item{x, y}{An \code{\link[=s2_cell]{s2_cell()}} vector}

\item{k}{An integer between 0 and 3}

\item{radius}{The radius to use (e.g., \code{\link[=s2_earth_radius_meters]{s2_earth_radius_meters()}})}

\item{level}{An integer between 0 and 30, inclusive.}

\item{na.rm}{Remove NAs prior to computing aggregate?}
}
\description{
S2 cell operators
}