Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.285.939 Times

Compute normal vectors of 2.5D triangulation 1.0

  Date Added: May 02, 2013  |  Visits: 291

Compute normal vectors of 2.5D triangulation

Report Broken Link
Printer Friendly Version


Product Homepage
Download (49 downloads)



It could be useful to know the normal vectors of a surface. The function provided is able to take a 2.5D unrestricted triangulation (Delaunay or not) which define a 3D surface and computes the normal vectors of each cell. It is possible to compute vectors at the center cells or at vertices.Inputs : "XYZ" is the coordinate of the vertex of the triangulation (nx3 matrix). "TRI" is the list of triangles which contain indexes of XYZ (mx3 matrix). "strPosition" is the position where the normal is computed. It could be 'center-cells' for a computation on the center of each triangle or could be 'vertices' and the vectors are computed at vertices with respect to the neighbor cells (string).Outputs : "NormalVx", "NormalVy" and "NormalVz" are the component of normal vectors (normalized to 1). "PosVx", "PosVy" and "PosVz" is the positions of each vector. Note : if strPosition == 'center-cells', then the dimension of each output are mx1. if strPosition == 'vertices', then the dimension of each output are nx1. All cells have to be enumerated clockwise or counter-clock. Example : [X,Y,Z]=peaks(25); X=reshape(X,[],1); Y=reshape(Y,[],1); Z=0.4*reshape(Z,[],1); TRI = delaunay(X,Y); [NormalVx NormalVy NormalVz PosVx PosVy PosVz]=computeNormalVectorTriangulation([X Y Z],TRI,'vertices'); quiver3(PosVx,PosVy, PosVz, NormalVx, NormalVy, NormalVz), axis equal hold on trimesh(TRI,X,Y,Z) David Gingras, February 2009

Requirements: No special requirements
Platforms: Matlab
Keyword: Clockwise Counterclock Dimension Enumerated Output Positions Quotposvyquot Quotposvzquot Strposition Vector
Users rating: 0/10

License: Shareware Size: 10 KB
USER REVIEWS
More Reviews or Write Review


COMPUTE NORMAL VECTORS OF 2.5D TRIANGULATION RELATED
Development Tools  -  Find values in a vector or function 1.0
Given a desired value "y0", this function finds all the elements "y" in a vector whose values are the closest to "y0" in the whole vector, and also the positions "xi". So, the output is a set of points [xi,y0] given in two vectors, one for the...
10 KB  
Multimedia  -  Tabular Expression Toolbox 1.0
Tabular Expression ToolboxTabular Expressions (also called "tables") provide a precise and concise way to represent mathematical conditional expressions. Tables have been shown to be useful in the documenting and analysing of software systems. The...
1.74 MB  
Development Tools  -  Multivariable Subspace Identification: MOESP 1.0
This is a small but powerful tool for multivariable subspace identification. It implements the so called Multivariable Output Error State Space algorithm.The identification is carried out in two steps by using the nested function technique. The...
10 KB  
Development Tools  -  Seven Segment image creator 1.0
The function takes digit to display and create white image with black digits on it. If only one input parameter presented the function use default parameters for dimension of output image.But you can control height of output image, width of...
10 KB  
Development Tools  -  earth2math 1.0
This function takes as input angle measurements in the earth-coordinate system (0 degrees = NORTH, 90 degrees = EAST, 180 deg = SOUTH, 270 deg = WEST), and converts these angle measurements to the math-coordinate system (0 degrees = EAST, 90 deg =...
1024 KB  
Multimedia  -  Guitar Distortion Effect 1.0
This function takes an audio vector and a constant as inputs. The output is the input audio vector but with a distortion effect added to it. The effect is much like that of an overdriven guitar amplifier. GDIST.m also works well with many other...
10 KB  
Libraries  -  TBarCode - Barcode OCX 9.0.2
TBarCode OCX (Barcode ActiveX Control) ADVANCED BARCODE GENERATOR TBarCode enhances all applications with professional barcode generating and barcode printing capabilities. This barcode generator component can be used easily with Microsoft Office...
12 MB  
Development Tools  -  DISTANCE2LINE c++ mex 1.0
[DISTANCES PROJ_POINTS]=DISTANCE2LINE(POINTS,LINE_SEG)This function distance2line computes minimum euclidean distances (vertical distances) of "points" (nxm matrix which m=2,3) to a "line" (1xm which m=2,3). The input "line" is defined by its two...
20.48 KB  
Development Tools  -  Import of log files created by Presentation 1.0
After import the function creates two struct variables that contain all the data in a nicely ordered way. For every column in the log file a field entry with the same name is created.The output variables are either a vector of structs (one entry...
10 KB  
Development Tools  -  Analytical solution for Orthogonal Linear Least Squares in two dimensions 1.0
ORTHLLS2D returns the Orthogonal Linear Least Squares estimate for parameters of line a x + b y + c = 0function f = OrthLLS2D(x, y)Inputs x and y must be real vectors of equal size.Output f is the real vector [a b c] where a, b and c are the...
10 KB  
NEW DOWNLOADS IN SCRIPTS, MULTIMEDIA
Scripts  -  Freelancer Script 5.05
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Post projects. Featured projects. Private projects. Sealed projects. Edit/delete projects. Select freelancers....
5.49 MB  
Scripts  -  B2B Script 4.20
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Sign-up Account (Registration of account). Lead generation tools (for the sellers). Email verification to...
5.49 MB  
Scripts  -  B2C Script 5.06
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). The script comes with totally editable site colors, icons and graphics Multilevel categories allows extensive browsing Admin can change Category ordering or...
5.49 MB  
Scripts  -  Social Networking Script 2.86
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Registration with name, email, password, date of birth etc. User can add multiple school, college, university with start...
5.49 MB  
Scripts  -  Business Networking Script 8.04
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Ajax based interface. Profile creation. Different types of profile. Profile for jobseekers, employers and employed...
5.49 MB  
Multimedia  -  isimSoftware CountDown Timer 1.0.2
isimSoftware CountDown Timer isimSoftware countdown timer for Windows, written for show operators by a show operator. Simple intuitive user interface with plenty of options hidden underneath. Displays time remaining, current time and a message...
421 KB  
Multimedia  -  Audio Reader XL 2020 20.0.1
Text to Speech Software Audio Reader XL reads aloud text easily. It’s text to speech software for reading eBooks, texts, web pages, and creating MP3s. The voice aloud reader read-aloud any kind of texts like - Any kind of texts - TXT text -...
73.26 MB  
Multimedia  -  Multi Level Meter Bridge 2020
With the new function Peak Detector you can control very accurate the Input of different Levels in a control rooms. Correlation Meter, In a logfile you are able to comprehend when and what kind of Level is under a threshold. PAS Multi Meter Bridge...
5.29 MB  
Multimedia  -  Spectrum Analyzer pro Live 2020
Spectrum Analyzer Pro Live turn your PC into a cutting-edge sound analysis tool! Dante WDM If you are a professional musician, acoustics expert or just a hi-fi enthusiast who wants to make sure that his audio system is perfectly tuned and plays...
12.86 MB  
Multimedia  -  Graphic Equalizer Studio 2020
you can run any windows sound application or DVD Player software above the Equalizer. The Equalizer will correct the audio stream automatic and will include the Limiter and the compressor to be sure, that the audio signal is not to loud or not to...
25.72 MB