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

convexhull (MathScript RT Module Function)

LabVIEW 2010 Help

Edition Date: June 2010

Part Number: 371361G-01

»View Product Info

Owning Class: geometry

Requires: MathScript RT Module

Syntax

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

Legacy Name: convhull

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] = convexhull([-1, 1, 1, -1, 0], [-1, -1, 1, 1, 0])

Related Topics

is_inpolygon
voronoi


 

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