Data update
This commit is contained in:
parent
29a5eea0d4
commit
5c1bb7bfa9
2011 changed files with 35081 additions and 3229 deletions
|
|
@ -1,30 +1,12 @@
|
|||
T Pt
|
||||
Float x, y
|
||||
|
||||
F (x, y)
|
||||
.x = x
|
||||
.y = y
|
||||
|
||||
T Pt((Float x, Float y))
|
||||
F String()
|
||||
R ‘Pt(x=#., y=#.)’.format(.x, .y)
|
||||
|
||||
T Edge
|
||||
Pt a, b
|
||||
|
||||
F (a, b)
|
||||
.a = a
|
||||
.b = b
|
||||
|
||||
T Edge((Pt a, Pt b))
|
||||
F String()
|
||||
R ‘Edge(a=#., b=#.)’.format(.a, .b)
|
||||
|
||||
T Poly
|
||||
String name
|
||||
[Edge] edges
|
||||
|
||||
F (name, edges)
|
||||
.name = name
|
||||
.edges = edges
|
||||
T Poly = (String name, [Edge] edges)
|
||||
|
||||
V _eps = 0.00001
|
||||
V _huge = 1e+100
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue