RemoveCell RemoveEdge RemoveVertex |
Cellzilla2D Home |
Description
Removes a vertex, edge, or cell from a tissue object.
Needs["Cellzilla2D`"];
Return Value
RemoveCell[tissue, i] - returns a tissue with cell i removed. For a DTissue object, DeleteCell should be used instead.
RemoveCell[tissue, {i,j,k,...}] - returns a tissue with cells i,j,k,... removed.
RemoveEdge[tissue, i] - returns a tissue with edge i removed. If the edge is not dangling then MergeVertices is used to merge the two endpoints into a single vertex at their midpoint and rereference all vertex and edge references. If the edge is dangling ( see DanglingEdges ) is merely removed from the tissue.
RemoveVertex[tissue, i] - returns a tissue with vertex i removed. The vertex will not be removed if it is part of any edge.
Options
Example
[ Download Example as Zipped Mathematica Notebook ]
Implementation Notes
See Also