Products & Services Solutions Academia Support User Community Company

Learn more about MATLAB   

DelaunayTri class - Superclasses: TriRep

Delaunay triangulation in 2-D and 3-D

Description

DelaunayTri creates a Delaunay triangulation object from a set of points. You can incrementally modify the triangulation by adding or removing points. In 2-D triangulations you can impose edge constraints. You can perform topological and geometric queries, and compute the Voronoi diagram and convex hull.

Definitions

The 2-D Delaunay triangulation of a set of points is the triangulation in which no point of the set is contained in the circumcircle for any triangle in the triangulation. The definition extends naturally to higher dimensions.

Construction

DelaunayTriContruct Delaunay triangulation

Methods

convexHullConvex hull
inOutStatusStatus of triangles in 2-D constrained Delaunay triangulation
nearestNeighborPoint closest to specified location
pointLocationSimplex containing specified location
voronoiDiagramVoronoi diagram

Inherited methods

baryToCartConverts point coordinates from barycentric to Cartesian
cartToBary Convert point coordinates from cartesian to barycentric
circumcentersCircumcenters of specified simplices
edgeAttachmentsSimplices attached to specified edges
edgesTriangulation edges
faceNormalsUnit normals to specified triangles
featureEdgesSharp edges of surface triangulation
freeBoundaryFacets referenced by only one simplex
incentersIncenters of specified simplices
isEdge Test if vertices are joined by edge
neighborsSimplex neighbor information
sizeSize of triangulation matrix
vertexAttachmentsReturn simplices attached to specified vertices

Properties

Constraints

Constraints is a numc-by-2 matrix that defines the constrained edge data in the triangulation, where numc is the number of constrained edges. Each constrained edge is defined in terms of its endpoint indices into X.

The constraints can be specified when the triangulation is constructed or can be imposed afterwards by directly editing the constraints data.

This feature is only supported for 2-D triangulations.

XThe dimension of X is mpts-by-ndim, where mpts is the number of points and ndim is the dimension of the space where the points reside. If column vectors of x,y or x,y,z coordinates are used to construct the triangulation, the data is consolidated into a single matrix X.
TriangulationTriangulation is a matrix representing the set of simplices (triangles or tetrahedra etc.) that make up the triangulation. The matrix is of size mtri-by-nv, where mtri is the number of simplices and nv is the number of vertices per simplex. The triangulation is represented by standard simplex-vertex format; each row specifies a simplex defined by indices into X, where X is the array of point coordinates.

Instance Hierarchy

DelaunayTri is a subclass of TriRep.

Copy Semantics

Value. To learn how this affects your use of the class, see Comparing Handle and Value Classes in the MATLAB Object-Oriented Programming documentation.

See Also

TriScatteredInterp
  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS