aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Embroidery/libembroidery/geom-line.h
blob: d7e00ff71d1a46b338943162355eb5b62ad4d145 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* Computational Geometry for Lines */
#ifndef LIB_C_GEOMETRY_LINE_H
#define LIB_C_GEOMETRY_LINE_H

#ifdef __cplusplus
extern "C" {
#endif

void getLineIntersection(double  lineAx1,    double  lineAy1,
                         double  lineAx2,    double  lineAy2,
                         double  lineBx1,    double  lineBy1,
                         double  lineBx2,    double  lineBy2,
                         double *intersectX, double *intersectY);

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif /* LIB_C_GEOMETRY_LINE_H */