To find out, issue a spatial data query that reports all cities such that the bounding box of the tsunami line intersects the geographical city center.
为此,发出一个空间数据查询,搜索其中心包含在海啸线内的所有城市。
One way is to find the geometric center of the object by computing the object bounding box by finding the maximum and minimum X, Y and Z values, then computing the mid-point of the bounding box.
先找到物体包围盒的中心,找到物体最大和最小的X, Y, Z坐标,两个坐标中点就是物体包围盒的中心。
应用推荐