| is {lidR} | R Documentation |
A set of boolean tests on objects
Description
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.
Usage
is.empty(las)
is.overlapping(catalog)
is.indexed(catalog)
is.algorithm(x)
is.parallelised(algorithm)
Arguments
las |
A |
catalog |
A |
x |
Any R object. |
algorithm |
An |
Value
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)
[Package lidR version 4.1.2 Index]