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(rayvertex:::run_documentation()) {
#Calculates the center of the mesh
get_scene_center(generate_cornell_mesh())
}

rayvertex documentation built on July 9, 2023, 5:52 p.m.