Loading autocnet/spatial/overlap.py +1 −1 Original line number Diff line number Diff line Loading @@ -170,9 +170,9 @@ def place_points_in_overlap(nodes, geom, cam_type="csm", adjusted=geom, pointtype=2) # Would be 3 or 4 for ground gnd = csmapi.EcefCoord(x, y, z) for node in nodes: if cam_type == "csm": gnd = csmapi.EcefCoord(x, y, z) image_coord = node.camera.groundToImage(gnd) sample, line = image_coord.samp, image_coord.line if cam_type == "isis": Loading autocnet/spatial/tests/test_overlap_points.py +0 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,6 @@ from autocnet.graph.node import Node import csmapi # @patch('autocnet.spatial.overlap.iterative_phase', return_value=(0, 1, 2)) @patch('autocnet.cg.cg.distribute_points_in_geom', return_value=[(0, 0), (5, 5), (10, 10)]) def test_place_points_in_overlap(point_distributer): # Mock setup Loading Loading
autocnet/spatial/overlap.py +1 −1 Original line number Diff line number Diff line Loading @@ -170,9 +170,9 @@ def place_points_in_overlap(nodes, geom, cam_type="csm", adjusted=geom, pointtype=2) # Would be 3 or 4 for ground gnd = csmapi.EcefCoord(x, y, z) for node in nodes: if cam_type == "csm": gnd = csmapi.EcefCoord(x, y, z) image_coord = node.camera.groundToImage(gnd) sample, line = image_coord.samp, image_coord.line if cam_type == "isis": Loading
autocnet/spatial/tests/test_overlap_points.py +0 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,6 @@ from autocnet.graph.node import Node import csmapi # @patch('autocnet.spatial.overlap.iterative_phase', return_value=(0, 1, 2)) @patch('autocnet.cg.cg.distribute_points_in_geom', return_value=[(0, 0), (5, 5), (10, 10)]) def test_place_points_in_overlap(point_distributer): # Mock setup Loading