DivideEdge, DivideEdges | Cellzilla2D Home |
Description
Divided an edge at a specific location, or divide specified edges in a tissue into smaller segements.
Needs["Cellzilla2D`"];
Return Value
DivideEdge[tissue, edge, {x,y}] returns a modified tissue with the specified edge divided at the specified location. No topological checking is performed to see if the specified location is reasonable so this could result in folded or topologically unlikely cells if the user is not careful.
DivideEdge[tissue, edge, n] - returns a modified tissue with the specified edge divided into n segements.
DivideEdge[tissue, edge, n, r] - returns a modified tissue with the specified edge divided into n segements with a randomization r; r must be between 0 and 0.25 (for 25%).
DivideEdges[tissue, {edge1, edge2, ...}, n] - returns a modified tissue with each of the specified edges divided into n segements.
DivideEdges[tissue, {edge1, edge2, ...}, n, r] - returns a modified tissue with each of the specified edges divided into n segements with randomness r.
Options
Example
[ Download Example as Zipped Mathematica Notebook ]
Implementation Notes
See Also