-
-
Notifications
You must be signed in to change notification settings - Fork 55
Closed
Description
GeometryBasics.jl/src/basic_types.jl
Lines 232 to 240 in dfb0083
struct Polygon{ | |
Dim, T <: Real, | |
P <: AbstractPoint{Dim, T}, | |
L <: AbstractVector{<: LineP{Dim, T, P}}, | |
V <: AbstractVector{L} | |
} <: AbstractPolygon{Dim, T} | |
exterior::L | |
interiors::V | |
end |
am I understanding correctly that the
Polygon
type is represented by an AbstractVector
with eltype
as LineP
? I would have expected an eltype
of <:AbstractPoint
like in Ngon
.lassepe
Metadata
Metadata
Assignees
Labels
No labels