grid_position.h 723 B

12345678910111213141516171819202122232425262728293031
  1. /******************************************************************************
  2. *
  3. * Copyright (C) 2020 by
  4. * The Salk Institute for Biological Studies
  5. *
  6. * Use of this source code is governed by an MIT-style
  7. * license that can be found in the LICENSE file or at
  8. * https://opensource.org/licenses/MIT.
  9. *
  10. ******************************************************************************/
  11. #ifndef SRC4_GRID_POSITION_H_
  12. #define SRC4_GRID_POSITION_H_
  13. #include "defines.h"
  14. namespace MCell {
  15. class Partition;
  16. class GridPos;
  17. namespace GridPosition {
  18. Vec2 find_closest_position(const Partition& p, const GridPos& gp1, const GridPos& gp2);
  19. } // namespace GridPosition
  20. } // namespace MCell
  21. #endif // SRC4_GRID_POSITION_H_