@startuml

' Template file to use to create the diagrams od the packages.
' Every file must have a sub part called INTERNAL with the internal connections of the package and
' a sub part called EXTERNAL with the external parts.

!startsub INTERNAL

package model {
        class Model
        class Points
        class Map3DModel
        class Map2DModel
        class Lines
        class Polygon
        class DashedLines
        class Plane
    }

Map2DModel -u-|> Model
Map3DModel -u-|> Model
Polygon -u-|> Model
Points -u-|> Model
Lines -u-|> Model
Plane -u-|> Model
DashedLines -u-|> Lines
Points --o Polygon
Lines --o Polygon
DashedLines -r--o Polygon

!endsub

!if (%false())
    !startsub EXTERNAL
        Model o--o Scene
        Map2DModel .> CTP
        Map2DModel .> decimation
    !endsub
!endif

' Code that will affect only the current diagram
' can be messy since will not be imported
hide members
Model o--o src.engine.scene.Scene
Map2DModel .> src.input.CTP
Map2DModel .> src.engine.data.decimation


@enduml