is function

A set of boolean tests on objects

A set of boolean tests on objects

is.empty tests if a LAS object is a point cloud with 0 points.

is.overlapping tests if a LAScatalog has overlapping tiles.

is.indexed tests if the points of a LAScatalog are indexed with .lax files.

is.algorithm tests if an object is an algorithm of the lidR package.

is.parallelised tests if an algorithm of the lidR package is natively parallelised with OpenMP. Returns TRUE if the algorithm is at least partially parallelised i.e. if some portion of the code is computed in parallel.

is.empty(las) is.overlapping(catalog) is.indexed(catalog) is.algorithm(x) is.parallelised(algorithm)

Arguments

  • las: A LAS object.
  • catalog: A LAScatalog object.
  • x: Any R object.
  • algorithm: An algorithm object.

Returns

TRUE or FALSE

Examples

LASfile <- system.file("extdata", "example.laz", package="rlas") las = readLAS(LASfile) is.empty(las) las = new("LAS") is.empty(las) f <- lmf(2) is.parallelised(f) g <- pitfree() is.parallelised(g) ctg <- readLAScatalog(LASfile) is.indexed(ctg)
  • Maintainer: Jean-Romain Roussel
  • License: GPL-3
  • Last published: 2024-07-09