1
 #' @include RcppExports.R raptr-internal.R
2
NULL
3

4
#' @rdname SpatialPolygons2PolySet
5
#'
6
#' @method SpatialPolygons2PolySet SpatialPolygonsDataFrame
7
#'
8
#' @export
9
SpatialPolygons2PolySet.SpatialPolygonsDataFrame <- function(x,
10
  n_preallocate=10000L) {
11 4
  rcpp_Polygons2PolySet(x@polygons)
12
}
13

14
#' @rdname SpatialPolygons2PolySet
15
#'
16
#' @method SpatialPolygons2PolySet SpatialPolygons
17
#'
18
#' @export
19
SpatialPolygons2PolySet.SpatialPolygons<-function(x, n_preallocate = 10000L) {
20 0
  rcpp_Polygons2PolySet(x@polygons)
21
}

Read our documentation on viewing source code .

Loading