pk_bbox.Rd 883 B

12345678910111213141516171819202122232425262728293031323334
  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. \dontrun{
  21. class(pk)
  22. # > [1] "sf" ...
  23. pk_bbox(x = pk, type = 1)
  24. }
  25. }
  26. \seealso{
  27. \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()}}
  28. }
  29. \keyword{boundarybox}
  30. \keyword{piirkond,}