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

convhull (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

[c, d] = convhull(X, Y)

Description

Computes the indexes of the points of a 2D convex hull and the area of the convex hull.

Examples

Inputs

Name Description
X Specifies the x-coordinates. X is a real matrix.
Y Specifies the y-coordinates. Y is a real matrix of the same size as X.

Outputs

Name Description
c Returns the indexes of the points of the convex hull. c is a matrix.
d Returns the area of the convex hull.

Examples

[C, D] = convhull([-1, 1, 1, -1, 0], [-1, -1, 1, 1, 0])

Related Topics

inpolygon
voronoi


Resources


 

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