Skip to content

Commit

Permalink
improve docs for unary geom ops and st_simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
edzer committed Dec 9, 2018
1 parent 1d01336 commit bb53f02
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions R/geom.R
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ st_is_within_distance = function(x, y, dist, sparse = TRUE) {

#' Geometric unary operations on simple feature geometry sets
#'
#' Geometric unary operations on simple feature geometry sets. These are all generics, with methods for \code{sfg}, \code{sfc} and \code{sf} objects, returning an object of the same class.
#' Geometric unary operations on simple feature geometries. These are all generics, with methods for \code{sfg}, \code{sfc} and \code{sf} objects, returning an object of the same class. All operations work on a per-feature basis, ignoring all other features.
#' @name geos_unary
#' @param x object of class \code{sfg}, \code{sfg} or \code{sf}
#' @param dist numeric; buffer distance for all, or for each of the elements in \code{x}; in case
Expand Down Expand Up @@ -540,7 +540,7 @@ st_convex_hull.sf = function(x) {
#' @name geos_unary
#' @export
#' @details \code{st_simplify} simplifies lines by removing vertices
#' @param preserveTopology logical; carry out topology preserving simplification? May be specified for each, or for all feature geometries.
#' @param preserveTopology logical; carry out topology preserving simplification? May be specified for each, or for all feature geometries. Note that topology is preserved only for single feature geometries, not for sets of them.
#' @param dTolerance numeric; tolerance parameter, specified for all or for each feature geometry.
st_simplify = function(x, preserveTopology = FALSE, dTolerance = 0.0)
UseMethod("st_simplify")
Expand Down
4 changes: 2 additions & 2 deletions man/geos_unary.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit bb53f02

Please sign in to comment.