Learn R Programming

MeshAgreement (version 0.1.4)

get_mesh_info_one: Get information about one mesh object

Description

Get key information about one mesh object. This includes the number of vertices and triangles as well as the volume and the centroid.

Usage

get_mesh_info_one(x)

Value

data.frame with these variables

name

Name of the mesh.

n_verts

Number of vertices.

n_faces

Number of faces.

volume

Mesh volume.

ctr_x

Centroid x-coordinate.

ctr_y

Centroid y-coordinate.

ctr_z

Centroid z-coordinate.

Arguments

x

A single mesh object as produced by read_mesh_one.

Details

Use get_mesh_info for getting the information about a list of mesh observer/objects. Use get_mesh_info_obs for getting the information about a list of meshes.

See Also

read_mesh_one, get_mesh_info_obs, get_mesh_info

Examples

Run this code
heartL <- mesh3dL_to_cgalMeshL(data_heart_obsL)
get_mesh_info_one(heartL[["Obs01"]][["Obs01_HEART"]])

Run the code above in your browser using DataLab