feiyu02
2025-01-23 698f8f0f22af4c66581ce284407e986ca036aec6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package com.flightfeather.uav.lightshare.service
 
import com.flightfeather.uav.domain.entity.GridCell
 
/**
 *
 * @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?>
}