powered by
The obj.create function creates an espadon object with the essential properties it must have.
obj.create
obj.create(class = c("", "volume", "struct", "mesh"), alias = "")
Returns a espadon class object (see espadon.class
for class definitions).
Character string, representing an espadon class from among "volume", "struct" or "mesh".
Character string, $alias of the created object.
$alias
vol.create, struct.create.
# Creation of an espadon mesh of a cube M <- obj.create (class = "mesh") M$mesh <- Rvcg::vcgIsotropicRemeshing (Rvcg::vcgBox(),0.5) M$nb.faces <- ncol (M$mesh$it) rgl::wire3d (M$mesh)
Run the code above in your browser using DataLab