get_mesh_center {rayvertex}R 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_scene_center(generate_cornell_mesh())
}

[Package rayvertex version 0.10.4 Index]