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)
20
extern
"C"
{
21
#endif
/* __cplusplus */
22
37
A_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_convexhull2
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.
a_real
double a_real
compiler built-in floating-point number type
Definition
a.h:1012
a_uint
unsigned int a_uint
unsigned integer type is guaranteed to be at least 16 bits
Definition
a.h:337
a_size
size_t a_size
unsigned integer type returned by the sizeof operator
Definition
a.h:823
point2.h
two-dimensional point
point3.h
three-dimensional point
a_point2
instance structure for two-dimensional point
Definition
point2.h:185
convexhull.h
Generated by
1.16.1