© Copyright 2000-2020 Source Code Online. Free Source Code and Scripts Downloads.
|Code Listing by Luigi Giaccari|
StructTetraMesh is a tool to build structured tetreaedral mesh on cuboid dataset. This is usefull in avoiding delaunay 3D triangulation that for this kind of dataset are particularly slow and numerically unstable.
This tool allows a huge speed improvement against delaunayn for 3D points, the output triangulation will also be d-deDUslivers-lessd-deDt, this is particularly important for programs that need a conform triangulation like
The native unique works using the sortrows algorithm which can be very slow for large models.
Sometimes we need to avoid passing multiple values to functions that do not support those.
In most of these cases we are pretty sure that...
This version has been developed for open surface.
Differently from crust based algorithm does not ensure a tight triangluation and sometimes self-intersecant triangles are generated, it is also generally slower....
In this file you can find a simple but very effective algorithm for Nearest Neighbour Search which I megalomaniacly called the GLTree.
You want more? go to the Professional version of GLTree
It has been designed for uniformly...
SolverNxN is designed to solve many small linear system in a vectorized way in order to improve time perfomaces. It is in practice a faster alternative to the matlab commands:
<!--code1--><!--ecode1-->for k =...
A few days ago I was in need of uniformly random points generation on the surface of sphere. I suddenly discovered that common parametrization with 2 angles is useless, it gathers too many points in the poles. At MathWorld you can find the...
This is Brand new so please advise-me if problems occurs.
Here you can find an m-file with three different algorithms for inpolygon test.
Depending on the input data, the one that is extimate to be the best will be chosen.
You can find the description at:
A Matlab independent version can be found at:
Have you ever thought about the fastest way to sort N numbers?
Last week I wrote a post about the fastest way to sort 3 numbers, this week I show you a tricky way to optimize the sort of N numbers.
The problem of sorting an...
This submission is for Matlab beginners.
After I post my tools on surface recostruction I received many e-mails of people asking what is the best way to get a surface from 3D scatter.
Most of them (about 90%), show to me surfaces...
All files and free downloads are copyright of their respective owners. We do not provide any hacked, cracked, illegal, pirated version of scripts, codes, components downloads. All files are downloaded from the publishers website, our file servers or download mirrors. Always Virus check files downloaded from the web specially zip, rar, exe, trial, full versions etc. Download links from rapidshare, depositfiles, megaupload etc not published.