Skip to content

Commit

Permalink
fix: temp removing rotate from structured support
Browse files Browse the repository at this point in the history
  • Loading branch information
Lachlan Grose committed Mar 10, 2022
1 parent 7e1121a commit 2e2d1c6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions LoopStructural/interpolators/supports/_3d_base_structured.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,6 @@ def position_to_cell_index(self, pos):
i,j,k indexes of the cell that the point is in
"""

pos = self.rotate(pos)
pos = self.check_position(pos)

ix = pos[:, 0] - self.origin[None, 0]
Expand All @@ -189,7 +188,6 @@ def position_to_cell_global_index(self, pos):
ix, iy, iz = self.position_to_cell_index(pos)

def inside(self, pos):
pos = self.rotate(pos)
# check whether point is inside box
inside = np.ones(pos.shape[0]).astype(bool)
for i in range(3):
Expand Down

0 comments on commit 2e2d1c6

Please sign in to comment.