Home > brede > brede_sur_smoothvert.m

brede_sur_smoothvert

PURPOSE ^

brede_sur_smoothvert - Smooth position of vertices

SYNOPSIS ^

function Sout = brede_sur_smoothvert(Sin, varargin)

DESCRIPTION ^

 brede_sur_smoothvert - Smooth position of vertices

       Sout = brede_sur_smoothvert(Sin, 'PropertyName',
           'PropertyValue') 

       Input:    Sin        'Sur' structure

       Property: Info       [ {0} | integer ] Amount of feedback
                            information 
                 Iterations [ {1} | integer ] The number of times the
                            smoothing operation is performed 

       Output:   Sout       Smoothed 'sur' structure

       Smooth the vertices of a surface defined in a 'sur'
       structure. 

       Presently the smoothing is based on the neighbor mean. This
       has a tendency to shrink the surface.

       Example: 
         S1 = brede_sur_octahedron('size', 0.05);
         S1 = brede_sur_refine(S1, 'depth', 3);
         S2 = brede_sur_smoothvert(S1);
         figure, brede_ta3_frame, brede_ta3_sur(S1)
         figure, brede_ta3_frame, brede_ta3_sur(S2)

       See also BREDE, BREDE_SUR, BREDE_SUR_CONNECTIVITY,
                BREDE_SUR_REDUCE, BREDE_SUR_REFINE.

 $Id: brede_sur_smoothvert.m,v 1.5 2003/12/05 18:36:48 fnielsen Exp $

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 27-Nov-2009 18:11:22 by m2html © 2005