poly_triangulate

poly_triangulate zerlegt Punkte in der Ebene in Dreiecke („Delaunay-Triangulation“).

rmTriangles = poly_triangulate(x, y)

Returnwert

rmTriangles ist eine drei-spaltige Matrix mit Indizes. Jede Zeile enthält die Indizes einen Dreiecks. Im Fehlerfall ist rmTriangles ein Stringvektor mit zwei Elementen. Das erste Element identifiziert den Fehler, das zweite Element ist ein Fehlermeldungstext.

Parameter

x

x ist ein Vektor mit den x-Koordinaten der Punkte in der Ebene.

y

y ist ein Vektor mit den x-Koordinaten der Punkte in der Ebene. Der Vektor muss die selbe Länge wie der x-Vektor haben. Es müssen mindestens 4 Punkte angegeben werden, die nicht auf einer Linie liegen dürfen.

Siehe auch

poly_hull

Diese Funktion verwendet qhull, siehe:

Barber, C.B., Dobkin, D.P., and Huhdanpaa, H.T., „The Quickhull algorithm for convex hulls,“ ACM Trans. on Mathematical Software, Dec 1996. http://www.geom.umn.edu/software/qhull.

                   Qhull, Copyright (c) 1993-2002

       The National Science and Technology Research Center for
        Computation and Visualization of Geometric Structures
                        (The Geometry Center)
                       University of Minnesota
                            400 Lind Hall
                        207 Church Street S.E.
                      Minneapolis, MN 55455  USA

                       email: qhull@geom.umn.edu

This software includes Qhull from The Geometry Center.  Qhull is
copyrighted as noted above.  Qhull is free software and may be obtained
via http from www.geom.umn.edu.  It may be freely copied, modified,
and redistributed under the following conditions:

1. All copyright notices must remain intact in all files.

2. A copy of this text file must be distributed along with any copies
   of Qhull that you redistribute; this includes copies that you have
   modified, or copies of programs or other software products that
   include Qhull.

3. If you modify Qhull, you must include a notice giving the
   name of the person performing the modification, the date of
   modification, and the reason for such modification.

4. When distributing modified versions of Qhull, or other software
   products that include Qhull, you must provide notice that the original
   source code may be obtained as noted above.

5. There is no warranty or other guarantee of fitness for Qhull, it is
   provided solely "as is".  Bug reports or fixes may be sent to
   qhull_bug@geom.umn.edu; the authors may or may not act on them as
   they desire.

id-1157134