From 9:00 AM - 12:00 PM CDT on Saturday, June 6th, ni.com will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

convexhull (MathScript RT Module Function)

LabVIEW 2012 MathScript RT Module Help

Edition Date: June 2012

Part Number: 373123C-01

»View Product Info
Download Help (Windows Only)

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.

Details

The following table lists the support characteristics of this function.

Supported in the LabVIEW Run-Time Engine Yes
Supported on RT targets Yes
Suitable for bounded execution times on RT Not characterized

Examples

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

Related Topics

is_inpolygon
voronoi

WAS THIS ARTICLE HELPFUL?

Not Helpful