View source: R/mesh_mark_pois.R
drop_poi | R Documentation |
drop_poi(pois, tt_override = FALSE)
pois |
A data frame output by the |
tt_override |
A boolean parameter used for internal testing. It should never be set to TRUE. |
Removes the last POI from the given dataset, updates the current 3D scene accordingly, and returns the modified dataset.
A reduced data frame
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.
mesh_mark_pois()
for interactive POI selection
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.