OutwardNormalVector | Cellzilla2D Home |

Description

Determines a normal vector a line segment.

Needs["Cellzilla2D`"];

Return Value

OutwardNormalVector[{{x1,y1}, {x2,y2}, {x3,y3}, ...}, i] returns a vector that is normal to the line segment between ith and (i+1)st points and outward to the polygon.

OutwardNormalVector[{{x1,y1}, {x2,y2}, {x3,y3}, ...}] returns a vector that is normal to the line segment between first and second points and outward to the polygon.

OutwardNormalVector[tissue, i] returns a list of vectors that are normal to each edge of cell i in the tissue, and pointing outward from the cell.

OutwardNormalVector[tissue, i, j] returns a vectors that is normal to the jth edge of cell i in the tissue, and pointing outward from the cell.

OutwardNormalVector[tissue, i] returns a list of vectors that are normal to each edge of each cell in the tissue, and pointing outward from the cell.

Options

Example

[ Download Example as Zipped Mathematica Notebook ]

Implementation Notes

See Also