pk_bbox.Rd 913 B

123456789101112131415161718192021222324252627282930313233
  1. % Generated by roxygen2: do not edit by hand
  2. % Please edit documentation in R/pk_boundary_box.R
  3. \name{pk_bbox}
  4. \alias{pk_bbox}
  5. \title{Piirkonna piirikast BB}
  6. \usage{
  7. pk_bbox(x = NULL, type = 0)
  8. }
  9. \arguments{
  10. \item{x}{object of class 'sf', 'sfc' or 'sfg'.}
  11. \item{type}{num select value: 1-3. 0: Envelope (Bounding Box), 1: Minimum Oriented Rectangle, 2: Minimum Enclosing Circle, 3: Convex Hull.}
  12. }
  13. \value{
  14. The object with class 'qgis_object'.
  15. }
  16. \description{
  17. Funktsioon leiab etteantud piirkonnale piirikasti (boundary box). Tulemuseks on 'qgis_vector'.
  18. }
  19. \examples{
  20. ## Not run:
  21. ## class(pk)
  22. ## > [1] "sf" ...
  23. ##
  24. ## pk_bbox(x = pk, type = 1)
  25. ##
  26. ## End(**Not run**)
  27. }
  28. \seealso{
  29. \code{\link[qgisprocess:qgis_run_algorithm]{qgisprocess::qgis_run_algorithm()}}, \code{\link[qgisprocess:is_qgis_result]{qgisprocess::qgis_output()}}, \code{\link[=get_config]{get_config()}}
  30. }
  31. \keyword{boundarybox}
  32. \keyword{piirkond,}