Code covered by the BSD License  

Highlights from
Linear Subdivision

3.66667

3.7 | 3 ratings Rate this file 18 Downloads (last 30 days) File Size: 244 KB File ID: #24964
image thumbnail

Linear Subdivision

by

 

A simple m file for the triangle mesh subdivision using linear interpolation.

| Watch this File

File Information
Description

A simple m file for the triangle mesh subdivision using linear interpolation. The zip file includes four examples of subdivision.

See also the URL:
http://www.mathworks.com.au/matlabcentral/fileexchange/24942

MATLAB release MATLAB 7.6 (R2008a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
21 Oct 2013 Stéphane  
08 Dec 2011 Ankur Pawar

Excellent function.I use it very frequently . I also created polyhedron projections using this function .

10 Jan 2011 Anton Semechko

Nice piece of code. Although runs into memory issues for meshes that have more than 4E3 vertices. To avoid these problems change

edgeVertex= zeros(nVertices, nVertices); (on line 17)

to

edgeVertex= sparse(nVertices, nVertices);

Thanks for your submission Jesus.

Contact us