Learn R Programming

RTOMO (version 1.1-6)

VEC2MOD: Convert representation of a 3D models

Description

Convert a single vector representation of a 3D model to a list, or a list to a single vector.

Usage

VEC2MOD(VEC)
MOD2VEC(MOD)

Arguments

VEC

vector with attributes x,y,D describing the coordinates

MOD

List model

Value

MOD

List model

Details

The two functions are used to convert models for different uses.

See Also

GXMA3D

Examples

Run this code
# NOT RUN {
data(HELMOD)

names(HELMOD)

VV = MOD2VEC(HELMOD)

NMOD = VEC2MOD(VV)

# }

Run the code above in your browser using DataLab