@@ -28,20 +28,20 @@ abstract type Exiting <: VertexType end
28
28
# Data structure for clipping the polygons. Fields left and right are used depending on the
29
29
# VertexType, as designated with the helper functions. The data structure forms a directed
30
30
# graph with each element always pointing to two elements.
31
- mutable struct RingVertex{VT<: VertexType ,M <: Manifold ,C <: CRS }
32
- point:: Point{M,C}
33
- left:: RingVertex{<:VertexType,M,C }
34
- right:: RingVertex{<:VertexType,M,C }
31
+ mutable struct RingVertex{VT<: VertexType ,P <: Point }
32
+ point:: P
33
+ left:: RingVertex{<:VertexType,P }
34
+ right:: RingVertex{<:VertexType,P }
35
35
36
- function RingVertex {VT,M,C } (point) where {VT<: VertexType ,M <: Manifold ,C <: CRS }
36
+ function RingVertex {VT,P } (point) where {VT<: VertexType ,P <: Point }
37
37
v = new (point)
38
38
v. left = v
39
39
v. right = v
40
40
v
41
41
end
42
42
end
43
43
44
- RingVertex {VT} (point:: Point{M,C} ) where {VT<: VertexType ,M <: Manifold ,C <: CRS } = RingVertex {VT,M,C } (point)
44
+ RingVertex {VT} (point:: P ) where {VT<: VertexType ,P <: Point } = RingVertex {VT,P } (point)
45
45
46
46
isnormal (:: RingVertex{Normal} ) = true
47
47
isnormal (:: RingVertex ) = false
0 commit comments