Loading...
Searching...
No Matches
ConvexHull.hh
Go to the documentation of this file.
1/*
2 * Copyright 2007, 2008, 2009, 2010,
3 *
4 * Olivier Stasse
5 *
6 * JRL, CNRS/AIST
7 *
8 * This file is part of walkGenJrl.
9 * walkGenJrl is free software: you can redistribute it and/or modify
10 * it under the terms of the GNU Lesser General Public License as published by
11 * the Free Software Foundation, either version 3 of the License, or
12 * (at your option) any later version.
13 *
14 * walkGenJrl is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Lesser Public License for more details.
18 * You should have received a copy of the GNU Lesser General Public License
19 * along with walkGenJrl. If not, see <http://www.gnu.org/licenses/>.
20 *
21 * Research carried out within the scope of the
22 * Joint Japanese-French Robotics Laboratory (JRL)
23 */
26#ifndef _CONVEX_HULL_COMPUTATION_H_
27#define _CONVEX_HULL_COMPUTATION_H_
28
29#include <vector>
30
31namespace PatternGeneratorJRL {
32
37typedef struct {
38 double col, row; /* col: x, row : y */
39} CH_Point;
40
41typedef std::vector<CH_Point> ConvexHullList;
42
45 public:
48
55 void DoComputeConvexHull(std::vector<CH_Point> aVecOfPoints,
56 std::vector<CH_Point> &TheConvexHull);
57};
58} // namespace PatternGeneratorJRL
59#endif
Definition: ConvexHull.hh:44
~ComputeConvexHull()
Definition: ConvexHull.cpp:73
void DoComputeConvexHull(std::vector< CH_Point > aVecOfPoints, std::vector< CH_Point > &TheConvexHull)
Definition: ConvexHull.cpp:75
ComputeConvexHull()
Definition: ConvexHull.cpp:71
\doc Simulate a rigid body
Definition: patterngeneratorinterface.hh:41
std::vector< CH_Point > ConvexHullList
Definition: ConvexHull.hh:41
Definition: ConvexHull.hh:37
double col
Definition: ConvexHull.hh:38