Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

delaunay (MathScript Function) (Windows, Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the geometry class.

Syntax

delaunay(a, b)

c = delaunay(a, b)

Description

Generates the Delaunay triangulation of a set of specified points in a plane.

Examples

Inputs

Name Description
a Specifies a vector of x-coordinates that represent points in the plane.
b Specifies a vector of y-coordinates that represent points in the plane. length(b) must equal length(a).

Outputs

Name Description
c Returns an n-by-3 matrix of integers, where n equals length(a). Each row of c represents a triangle of the Delaunay triangulation.

Examples

A = [1, 2, 3, 4, 5, 6, 7, 8];
B = [2, 4, 1, 6, 4, 5, 6, 2];
C = delaunay(A, B)

Related Topics

convhull
griddata
inpolygon
meshgrid
voronoi


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit