Learn R Programming

lidR (version 2.0.2)

is.empty: Test if a LAS object is empty

Description

An empty LAS object is a point cloud with 0 points

Usage

is.empty(object, ...)

# S4 method for LAS is.empty(object, ...)

Arguments

object

A LAS object

...

Unused

Value

TRUE or FALSE

Examples

Run this code
# NOT RUN {
LASfile <- system.file("extdata", "example.laz", package="rlas")
las = readLAS(LASfile)
is.empty(las)

las = new("LAS")
is.empty(las)
# }

Run the code above in your browser using DataLab