-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGeoError.py
109 lines (71 loc) · 1.97 KB
/
GeoError.py
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
class BeforDnpC(Exception):
def __init__(self):
pass
class Turnpt_E(Exception):
def __init__(self):
pass
class lengtherror(Exception):
def __init__(self, msg):
self.msg = msg
def __str__(self):
return self.msg
class Decomposition(Exception):
def __init__(self, msg):
self.msg = msg
def __str__(self):
return self.msg
class outpoly_too_small(Exception):
def __init__(self, msg):
self.msg = msg
def __str__(self):
return self.msg
class inner_poly_small(Exception):
def __init__(self, msg):
self.msg = msg
def __str__(self):
return self.msg
class Small(Exception):
def __init__(self, msg):
self.msg = msg
def __str__(self):
return self.msg
class Pocket(Exception):
def __init__(self, msg):
self.msg = msg
def __str__(self):
return self.msg
class topology(Exception):
def __init__(self, msg, polygons, len_inner = None):
self.msg = msg
self.polygons = polygons
self.len_inner = len_inner
def __str__(self):
return self.msg
class Divide(Exception):
def __init__(self, msg, polygons):
self.msg = msg
self.polygons = polygons
def __str__(self):
return self.msg
class interval_error(Exception):
def __init__(self, msg):
self.msg = msg
def __str__(self):
return self.msg
class splitter(Exception):
def __init__(self, msg):
self.msg = msg
def __str__(self):
return self.msg
class Connect_Error(Exception):
def __init__(self, msg, path):
self.msg = msg
self.path = path
def __str__(self):
return self.msg
class Unprintable(Exception):
def __init__(self, msg, path):
self.msg = msg
self.path = path
def __str__(self):
return self.msg