Code covered by the BSD License  

Highlights from
bqcurv

5.0

5.0 | 1 rating Rate this file 4 Downloads (last 30 days) File Size: 3.45 KB File ID: #11833

bqcurv

by David Ferrari

 

30 Jul 2006 (Updated 16 Aug 2006)

Calculates the curvature of a triangulated surface

| Watch this File

File Information
Description

Input:
Structure array [R] with the following fields:
R.points - Nx7 array of vertex coordinates: pt. no., x-value, y-value, z-value, norm_x, norm_y, norm_z.
norm_* are components of the unit normal of that vertex;
R.neighbours - Nx1 cell array listing the neighbours of each vertex. if no neighbour list is provided, <bqcurv.m> will calculate the neighbours using <find_neighbours.m>;
R.polygons - Mx7 array of triangles: poly. no., pt. #1, pt. #2, pt. #3, Nx, Ny, Nz.
N_* is the unit normal of that polygon;

Output
The fields R.kappa_min and R.kappa_max

MATLAB release MATLAB 7 (R14)
Other requirements This function was primarily written for readability, and was not too slow for my present application. I hope to get arounf to speeding it up soon - please let me know if you'd like to hurry me.
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
01 Aug 2006 M. Oswald

The function "find_neighbours.m" is missing

11 Feb 2007 waseem adib

its very good

Please login to add a comment or rating.
Updates
16 Aug 2006

included find_neighbours subfunction

Tag Activity for this File
Tag Applied By Date/Time
surface David Ferrari 22 Oct 2008 08:34:02
curvature David Ferrari 22 Oct 2008 08:34:02
vertex David Ferrari 22 Oct 2008 08:34:02
coordinates David Ferrari 22 Oct 2008 08:34:02
array David Ferrari 22 Oct 2008 08:34:02

Contact us at files@mathworks.com