Drone3D-Team/Drone3D

View on GitHub
app/src/main/java/ch/epfl/sdp/drone3d/map/area/ParallelogramArea.kt

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
/*
 * Copyright (C) 2021  Drone3D-Team
 * The license can be found in LICENSE at root of the repository
 */

package ch.epfl.sdp.drone3d.map.area

import com.mapbox.mapboxsdk.geometry.LatLng

/**
 * Area with 4 vertices representing a Parallelogram
 */
class ParallelogramArea(override val vertices: List<LatLng>) : Area {
    init {
        require(vertices.size == 4)
    }
}