Skip to contents

reconstruction_to_texture_polygons() converts a completed texture polygon reconstruction table into the compact schema used by validate_texture_polygons(). This helper is intended for future official polygon reconstruction workflows and does not provide built-in polygon data.

Usage

reconstruction_to_texture_polygons(x, validate = TRUE, require_ready = FALSE)

Arguments

x

A data frame with columns from texture_polygon_reconstruction_template().

validate

Should the compact polygon table be validated with validate_texture_polygons() before returning?

require_ready

Should rows be required to have implementation_status equal to "ready_for_package" or "implemented"?

Value

A tibble with compact texture polygon columns. If validate = TRUE, the result also has class texture_polygons.