你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-07 15:10:13 +08:00
Update Box geometry for parallel build
这个提交包含在:
@@ -91,7 +91,13 @@ class Box(RotatableMixin, GeometryUserObject):
|
|||||||
averagebox = grid.averagevolumeobjects
|
averagebox = grid.averagevolumeobjects
|
||||||
|
|
||||||
uip = self._create_uip(grid)
|
uip = self._create_uip(grid)
|
||||||
p3, p4 = uip.check_box_points(p1, p2, self.__str__())
|
grid_contains_box, p3, p4 = uip.check_box_points(p1, p2, self.__str__())
|
||||||
|
|
||||||
|
# Exit early if none of the box is in this grid as there is
|
||||||
|
# nothing else to do.
|
||||||
|
if not grid_contains_box:
|
||||||
|
return
|
||||||
|
|
||||||
# Find nearest point on grid without translation
|
# Find nearest point on grid without translation
|
||||||
p5 = uip.round_to_grid_static_point(p1)
|
p5 = uip.round_to_grid_static_point(p1)
|
||||||
p6 = uip.round_to_grid_static_point(p2)
|
p6 = uip.round_to_grid_static_point(p2)
|
||||||
|
在新工单中引用
屏蔽一个用户