/
cog.clif
31 lines (26 loc) · 879 Bytes
/
cog.clif
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*******************************************************************************
* Copyright (c) University of Toronto and others. All rights reserved.
* The content of this file is licensed under the Creative Commons Attribution-
* ShareAlike 4.0 Unported license. The legal text of this license can be
* found at http://creativecommons.org/licenses/by-sa/4.0/legalcode.
*
* Contributors:
* Michael Gruninger - initial implementation
*******************************************************************************/
(cl-text http://colore.oor.net/ordered_geometry/cog.clif
(cl-imports http://colore.oor.net/ordered_geometry/wog.clif)
(forall (x y z w u l)
(if (and (between x y z)
(between x w z)
(between y u w)
(in x l)
(in z l)
(point x)
(point y)
(point z)
(point w)
(point u)
(line l))
(and (in u l)
(between x u z))))
)