package space.nstart.pcp.pcp_coverage_scheme_service.model

import org.locationtech.jts.geom.Geometry
import org.locationtech.jts.geom.Point
import space.nstart.pcp.pcp_types_lib.dto.ballistics.RevolutionSign

import java.time.LocalDateTime

data class CoverageCandidateMode(
    val window: CoverageObservationWindow,
    val rollDegrees: Double,
    val contour: Geometry,
    val targetCoverage: Geometry,
    val anchor: Point,
    val centerShift: Double,
    val generationDirectionDegrees: Double,
    val startBoundary: String,
    val sequenceSeed: Int
) {

    val timeStart: LocalDateTime get() = window.timeStart
    val timeEnd: LocalDateTime get() = window.timeEnd
    val branch: RevolutionSign get() = window.branch
}
