rotate_las_z: Rotate 'LAS' object about the 'Z' axis

View source: R/preprocessing.R

rotate_las_zR Documentation

Rotate 'LAS' object about the 'Z' axis

Description

Rotate 'LAS' object about the 'Z' axis for specified angle.

Usage

rotate_las_z(las, angle)

Arguments

las

'LAS' object from 'lidR' package representing individually segmented tree

angle

numeric - in degrees, rotation angle about Z axis.

Value

A 'LAS' object rotated about the Z axis.

Examples

library(lidR)
las = readLAS(system.file("extdata", "tree_0744.laz", package="tReeTraits"))
las_rotated = rotate_las_z(las, 90)

plot(las)
plot(las_rotated)


tReeTraits documentation built on Feb. 26, 2026, 1:07 a.m.