ShowOutwardNormals Cellzilla2D Home

Description

Generates a graphic for the outward pointing normal unit vectors to the edges of a polygon.

Needs["Cellzilla2D`"];

Return Value

ShowOutwardNormals[{{x1,y1}, {x2,y2}}, dir, flag]

dir is any list of graphics directives

flag if True, prints the polygon; if not, only shows the arrow.

ShowOutwardNormals[Tissue, options] displays the normal vectors to cells and/or edges as specified by the options

Options

"Cells"->{} List of cell numbers; the outward pointing normal vectors will be drawn for each edge of the specified cells, with the styles defined by option "Style".

"Edges"->{} List of edges numbers; opposite normal vectors will be drawn with the styles defined by option "Style" for each edge specified. Since an "outward" direction is undefined in the absence of specific edges, two oppostive vectors are drawn for each edge.

"Style"-> {} - any Graphics option or directive, e.g., Red or Dotted.

Example

[ Download Example as Zipped Mathematica Notebook ]

Implementation Notes

See Also

ShowEdgeNormal, NormalVector, OutwardNormalVector



[2012 Nov 9]