get_mesh_center: Get Mesh Center

View source: R/transform_mesh_functions.R

get_mesh_centerR Documentation

Get Mesh Center

Description

Calculates the coordinates of the center of a mesh

Usage

get_mesh_center(mesh)

Arguments

mesh

The mesh object.

Value

Length-3 numeric vector

Examples

if(run_documentation()) {
#Calculates the center of the mesh
get_mesh_center(generate_cornell_mesh())
}

rayvertex documentation built on April 4, 2025, 2:37 a.m.