NormalVector | Cellzilla2D Home |

Description

Determines a normal vector a line segment.

Needs["Cellzilla2D`"];

Return Value

NormalVector[{{x1,y1}, {x2,y2}}] returns a vector that is normal to the line segment between the points.

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

Options

Example

[ Download Example as Zipped Mathematica Notebook ]

Implementation Notes

See Also