drop_poi: Drop the last point of interest (POI).

View source: R/mesh_mark_pois.R

drop_poiR Documentation

Drop the last point of interest (POI).

Description

[Experimental]

Usage

drop_poi(pois, tt_override = FALSE)

Arguments

pois

A data frame output by the mesh_mark_pois() function, containing information about points of interest (POIs).

tt_override

A boolean parameter used for internal testing. It should never be set to TRUE.

Details

Removes the last POI from the given dataset, updates the current 3D scene accordingly, and returns the modified dataset.

Value

A reduced data frame

Note

  • The input is not modified in place

  • The function does not check whether the scene has been changed since the mesh_mark_pois() function was called to generate the pois object.

See Also

mesh_mark_pois() for interactive POI selection

Examples

## Not run: 
# Example usage:
# Create a dataset with marked POIs
mesh <- mesh_recenter(demoFlake2$mesh)$mesh
pois <- mesh_mark_pois(mesh)

# Drop the last POI and update the 3D scene
pois <- drop_poi(pois)

## End(Not run)


cornelmpop/Lithics3D documentation built on Feb. 10, 2024, 11:54 p.m.