liba 0.1.15
An algorithm library based on C/C++
Loading...
Searching...
No Matches
convexhull.h
Go to the documentation of this file.
1
6
7#ifndef LIBA_CONVEXHULL_H
8#define LIBA_CONVEXHULL_H
9
10#include "point2.h"
11#include "point3.h"
12
18
19#if defined(__cplusplus)
20extern "C" {
21#endif /* __cplusplus */
22
37A_EXTERN a_size a_convexhull2(a_point2 *__restrict i_p, a_size i_n,
38 a_point2 *__restrict o_p, a_size o_n,
39 a_uint opt, a_real tol);
40
41#if defined(__cplusplus)
42} /* extern "C" */
43#endif /* __cplusplus */
44
46
47#endif /* a/convexhull.h */
a_size a_convexhull2(a_point2 *__restrict i_p, a_size i_n, a_point2 *__restrict o_p, a_size o_n, a_uint opt, a_real tol)
compute the convex hull of a set of 2D points using the Monotone Chain algorithm.
double a_real
compiler built-in floating-point number type
Definition a.h:1012
unsigned int a_uint
unsigned integer type is guaranteed to be at least 16 bits
Definition a.h:337
size_t a_size
unsigned integer type returned by the sizeof operator
Definition a.h:823
two-dimensional point
three-dimensional point
instance structure for two-dimensional point
Definition point2.h:185