@@ -28,20 +28,20 @@ abstract type Exiting <: VertexType end
2828# Data structure for clipping the polygons. Fields left and right are used depending on the
2929# VertexType, as designated with the helper functions. The data structure forms a directed
3030# 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 }
3535
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 }
3737 v = new (point)
3838 v. left = v
3939 v. right = v
4040 v
4141 end
4242end
4343
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)
4545
4646isnormal (:: RingVertex{Normal} ) = true
4747isnormal (:: RingVertex ) = false
0 commit comments