Maple für Professional
Maple für Akademiker
Maple für Studenten
Maple Personal Edition
Maple Player
Maple Player für iPad
MapleSim für Professional
MapleSim für Akademiker
Maple T.A. - Testen & beurteilen
Maple T.A. MAA Placement Test Suite
Möbius - Online-Courseware
Machine Design / Industrial Automation
Luft- und Raumfahrt
Fahrzeugtechnik
Robotics
Energiebranche
System Simulation and Analysis
Model development for HIL
Anlagenmodelle für den Regelungsentwurf
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematikausbildung
Technik
Allgemein- und berufsbildende Schulen
Testen und beurteilen
Studierende
Finanzmodelle
Betriebsforschung
Hochleistungsrechnen
Physik
Live-Webinare
Aufgezeichnete Webinare
Geplante Veranstaltungen
MaplePrimes
Maplesoft-Blog
Maplesoft-Mitgliedschaft
Maple Ambassador Program
MapleCloud
Technische Whitepapers
E-Mail Newsletters
Maple-Bücher
Math Matters
Anwendungs-Center
MapleSim Modell-Galerie
Anwenderberichte
Exploring Engineering Fundamentals
Lehrkonzepte mit Maple
Maplesoft Welcome-Center
Resource-Center für Lehrer
Help-Center für Studierende
simplex[convexhull] - find convex hull enclosing the given points
Calling Sequence
convexhull(P)
convexhull(P, output=area)
convexhull(P, output=hull)
convexhull(P, output=plot)
Parameters
P
-
list or set of points in 2 dimensions
Description
The command convexhull(P) returns a list of points defining the convex hull of the points in P in counter-clockwise order.
Every point in P must be a list of an x and y coordinate, both of which must be numbers (of type numeric).
If the option output=area is specified, the area of the convex hull of the points is returned.
If the option output=hull is specified, the convex hull is is returned as a list of points. This is the default return value.
If the option output=plot is specified, a plot of the points and the convex hull is returned.
Multiple outputs can be specified, for example, output=[hull,area] returns a sequence of two values.
An algorithm computing tangents of pairs of points is used.
For a slightly more geometrical interpretation of the same command, see geometry[convexhull]. The points input and output are geometric points, and the output is considered to be a convex polygon.
The command with(simplex,convexhull) allows the use of the abbreviated form of this command.
Examples
Execute the following to get a plot of the points and the convex hull.
This creates 50 points uniformly distributed at random on [0,1).
U01 := proc() Float( R(), -10 ) end proc:
See Also
geometry[convexhull]
Download Help Document