GetTissueInsidePolygon GetTissueAboveLine GetTissueBelowLine |
Cellzilla2D Home |

Description

GetTissueAboveLine[Tissue, point1, point2] returns a new tissue object by extracting only those points whose centers lies above the (non-vertical) line joining the two (distinct) points. If the line is vertical or the points are non-distinct and error will occur.

GetTissueBelowLine[Tissue, point1, point2] returns a new tissue object by extracting only those points whose centers lies below the (non-vertical) line joining the two (distinct) points. If the line is vertical or the points are non-distinct and error will occur.

GetTissueInsidePolygon[Tissue, {point1, point2,...}] returns a new tissue object by extracting only those points whose centers lies inside the polygon defined by the points.

Options

Example

[ Download Example as Zipped Mathematica Notebook ]

Implementation Notes

Despite its name, GetTissueInsideFunction will select cells that extend beyond the boundary of the polygon. The only restriction is that their center lie inside the polygon. Similar comments apply to the other two functions for cells that lie above or below a line

See Also