symmetrize

Name

	symmetrize

Author

	Terry Myerson
	International AVS Center
	North Carolina Supercomputing Center
	avs@ncsc.org

Summary

	Name	symmetrize
	
	Type 	mapper
	
	Inputs	field 1-D 1-space 2-vector uniform float
	Outputs geometry
	Parameters	Name 		Type	Default	  Min	Max
			divisions	integer	8	  4	100

Description

Symmetrize inputs a list of r and z values ( cylindrical coordinates )
which define a axisymmetric object.  The input field is only 1-D, but
it is a vector field with the first scalar in each vector being the r
value, and the second scalar in the vector field being a corresponding
z value.  Symmetrize inputs the list, performs NO sorting, and then constructs
a mesh object around the Z axis.  The mesh is constructed by distributing
a series of nodes around the Z axis, equally spaced by the divisions parameter.
( i.e. if divisions is 4, then a mesh node will be placed every 90 degrees. ).
4 vertice polygons are then constructed among the distributed nodes.
APPLICATION
This module is very useful in creating any axisymmetric object.  We initially
used it for the visualization of a while blood cell shape deformation algorithm.

Network

symmetrize.net
		read field (1D 1-space 2-vector uniform float)
 		     |
		symmetrize
		     |
		render geometry
		     |
		display pixmap