1 /**
2 * \file geom.h
3 * \brief Various geometrical calculations
4 *
5 * Authors:
6 * Nathan Hurst <njh@mail.csse.monash.edu.au>
7 *
8 * Copyright (C) 1999-2002 authors
9 *
10 * Released under GNU GPL, read the file 'COPYING' for more information
11 */
13 #include "libnr/nr-forward.h"
15 enum IntersectorKind {
16 INTERSECTS = 0,
17 PARALLEL,
18 COINCIDENT,
19 NO_INTERSECTION
20 };
22 /* Define here various primatives, such as line, line segment, circle, bezier path etc. */
26 /* intersectors */
28 IntersectorKind intersector_line_intersection(NR::Point const &n0, double const d0,
29 NR::Point const &n1, double const d1,
30 NR::Point &result);