GeomProcess
The GeMA Geometry Process Plugin
Loading...
Searching...
No Matches
convexHull.h
Go to the documentation of this file.
1/************************************************************************
2**
3** Copyright (C) 2014 by Carlos Augusto Teixera Mendes
4** All rights reserved.
5**
6** This file is part of the "GeMA" software. It's use should respect
7** the terms in the license agreement that can be found together
8** with this source code.
9** It is provided AS IS, with NO WARRANTY OF ANY KIND,
10** INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR
11** A PARTICULAR PURPOSE.
12**
13************************************************************************/
14
24#ifndef _GEMA_PLUGIN_GEOM_CONVEXHULL_H_
25#define _GEMA_PLUGIN_GEOM_CONVEXHULL_H_
26
27#include <QVector>
28class GmValueAccessor;
29
30bool ConvexHull2D(const GmValueAccessor* nodeAccessor, QVector<int>& nodeIds, bool inclusive);
31
32#endif
33
bool ConvexHull2D(const GmValueAccessor *nodeAccessor, QVector< int > &nodeIds, bool inclusive)
Returns the convex hull of a list of nodes. The returned list of node ids is CCW ordered....
Definition convexHull.cpp:40