Learn R Programming

rayvertex (version 0.12.0)

get_mesh_center: Get Mesh Center

Description

Calculates the coordinates of the center of a mesh

Usage

get_mesh_center(mesh)

Value

Length-3 numeric vector

Arguments

mesh

The mesh object.

Examples

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

Run the code above in your browser using DataLab