mvmeshmisc {mvmesh} | R Documentation |
Miscellaneous functions used by/with mvmesh
Description
Utilities for working with mvmesh objects
Usage
mvmeshFromSimplices( S )
mvmeshFromSVI( V, SVI, m )
mvmeshFromVertices( V )
mvmeshCombine( mesh1, mesh2 )
uniqueRowsFromDoubleArray( A )
Arguments
S |
simplices, an (vps x n x nS) array, with S[ , ,k] specifying the vertices of k-th simplex |
V |
(nV x n) matrix giving the distinct vertices in the list of simplices |
SVI |
integer (vps x nS) matrix which specifies the indices of the vertices that make up the simplices in S |
m |
integer dimension of the mesh, less than or equal n=dimension of the space |
mesh1 , mesh2 |
objects of class "mvmesh" |
A |
a matrix of doubles |
Details
Experimental functions. They allow one to build mvmesh objects manually
by specifying just simplices (mvmeshFromSimplices
),
or just vertices (mvmeshFromVertices
), or vertices and grouping information (mvmeshFromSVI
).
mvmeshCombines
combines two meshes with the same values of n, m and vps. The resulting objects can usually be plotted by the plot method,
but other operations may fail. In particular, vertices common to both meshes will be repeated.
Value
undocumented
Warning
This is experimental code, and not throughly tested. Function names, arguments, and what they do may change in the future.
Examples
## Not run:
demo(mvmeshmisc)
## End(Not run)