•Quadrilateral example

In[92]:=

points = {{-1, -1}, {0, 0}, {1, -1}, {0, 1}} ; connect = {{1, 2, 3, 4}} ;  pts = Part[points, connect[[1]]] ; areas = Apply[area, Partition[pts, 3, 1, {2}], {1}] ;

•Compile function
•Show

In[100]:=

quad = Show[pContour,  Graphics[Flatten[{{RGBColor[1, 1, 1]}, {mask[pts]}}]], Graphics[Flatten[{{PointSize[.02]}, {outline[pts], name[pts], nodes[pts]}}]], PlotRange -> All, Frame -> False, AspectRatio -> 1, DisplayFunction -> $DisplayFunction]

[Graphics:../HTMLFiles/index_75.gif]

Out[100]=

-Graphics -


Converted by Mathematica  (March 7, 2003)