Home > brede > brede_sur_sur2mat.m

brede_sur_sur2mat

PURPOSE ^

brede_sur_sur2mat - Convert 'sur' structure to 'mat'

SYNOPSIS ^

function M = brede_sur_sur2mat(S, varargin)

DESCRIPTION ^

 brede_sur_sur2mat    - Convert 'sur' structure to 'mat'

       M = brede_sur_sur2mat(S, 'PropertyName', 'PropertyValue') 

       Input:    S     'Sur' structure

       Property: Type  [ faces | {vertices} ] Type of 'mat' structure
                       that are converted

       Output:   M     'Mat' structure

       Convert a 'sur' structure containing a surface to a 'mat'
       structure. Either the faces or the vertices of the surface can
       be returned.

       Example:
         S = brede_sur_sphere('Size', 0.01);
         M = brede_sur_sur2mat(S, 'type', 'vertices');
         brede_ui_mat(M);

       See also BREDE, BREDE_SUR, BREDE_MAT.

 $Id: brede_sur_sur2mat.m,v 1.1 2007/07/12 13:11:26 fn Exp $

CROSS-REFERENCE INFORMATION ^

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