Calculates the coordinates of the center of a mesh

get_mesh_center(mesh)

Arguments

mesh

The mesh object.

Value

Length-3 numeric vector

Examples

#Calculates the center of the mesh
get_mesh_center(generate_cornell_mesh())
#> [1] 277.5 277.5 282.5