Koswat dike profile module

KoswatLayersWrapper

Bases: KoswatLayersWrapperProtocol

layers: List[KoswatLayerProtocol] property

All the stored layers being the KoswatBaseLayer the latest one in the collection.

Returns:

Type Description
List[KoswatLayerProtocol]

List[KoswatLayerProtocol]: Ordered list of KoswatLayerProtocol.

KoswatProfileBase dataclass

Bases: KoswatProfileProtocol

Basic definition and implementation of a KoswatProfileProtocol. It represents the initial koswat profile being provided by the user from which further calculations will be made.

points: list[Point] property

The combination of points from both water and polder sides.

Returns:

Type Description
list[Point]

list[Point]: A total of eight points comforming the KoswatProfile.

profile_height: float property

The profile highest point (largest y-coordinate).

Returns:

Name Type Description
float float

Greatest y-coordinate.

profile_width: float property

The profile extent from the lowest (left-most) x-coordinate to the largest (right-most) x-coordinate from a dike geometry polygon.

Returns:

Name Type Description
float float

Total distance.