Non-convex polygon (Polygon)
LazySets.PolygonModule.Polygon — TypePolygon{N, VN<:AbstractVector{N}} <: LazySet{N}Type that represents a non-convex polygon by its vertices.
Fields
vertices– the list of vertices (in clockwise or counter-clockwise order)
Examples
A non-convex polygon in vertex representation can be constructed by passing the list of vertices. For example, we can build a tooth:
julia> P = Polygon([[0.0, 0], [0, 2], [2, 2], [2, 0], [1, 1]]);
julia> P.vertices
5-element Vector{Vector{Float64}}:
[0.0, 0.0]
[0.0, 2.0]
[2.0, 2.0]
[2.0, 0.0]
[1.0, 1.0]Undocumented implementations:
Inherited from LazySet:
areachebyshev_center_radiuscomplementconcretizeconstraintscopy(::Type{LazySet})diametereltypeeltypeextremaextremahighhighisoperationispolytopicispolyhedralispolyhedraltypelowlownormpolyhedronradiusrationalizerectifyreflectsingleton_listtosimplehreptriangulatetriangulate_facesverticesaffine_mapexponential_mapis_interior_pointlinear_mapprojectsamplescalescale!translatetranslate!cartesian_productconvex_hullexact_sumisapproxisdisjoint==isequivalent⊂⊆linear_combinationminkowski_differenceminkowski_sum