Learn R Programming

rayvertex (version 0.15.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 (FALSE) { # interactive() || isTRUE(as.logical(Sys.getenv("IN_PKGDOWN")))
#Calculates the center of the mesh
get_mesh_center(generate_cornell_mesh())
}

Run the code above in your browser using DataLab