feiyu02
2025-02-07 e133600480d5f688a8375db7708fe531b4726f4a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
package com.flightfeather.uav.lightshare.service
 
import com.flightfeather.uav.domain.entity.GridCell
import com.flightfeather.uav.domain.entity.GridDataDetail
 
/**
 *
 * @date 2025/1/13
 * @author feiyu02
 */
interface SatelliteDataCalculateService {
 
    /**
     * 根据卫星遥测网格的中心坐标点,计算网格4个顶点坐标
     * @param groupId 网格组索引id
     */
    fun calGridVertex(groupId: Int): List<GridCell?>
 
    /**
     * 将网格组进行细分
     * @param groupId 网格组索引id
     * @param scale 拆分的系数,例如 2,表示将原有网格按边长的 1/2 拆分成 2 * 2 的4个网格
     */
    fun splitGrid(groupId: Int, scale: Int): List<GridCell?>
 
    /**
     * 将原始网格的数据映射填充至细分网格
     * @param groupId 细分网格组索引id
     * @param dataId 数据索引id
     */
    fun splitData(groupId: Int, dataId:Int): List<GridDataDetail?>
}