Skip to content

File coordinate.hpp

FileList > lib > utilities > coordinate.hpp

Go to the source code of this file

  • #include <array>
  • #include <cmath>
  • #include <iostream>
  • #include <ostream>
  • #include <type_traits>
  • #include <vector>
  • #include "assert/assert.hpp"

Classes

Type Name
class Coordinate2D <typename T>
class Coordinate3D <typename T>
class Direction2D
struct Extent2D
struct Extent3D
class LineCoord2D <typename T, typename>
class LineCoord2DCrossing <typename T>

Public Attributes

Type Name
const std::array< Direction2D, 8 > ALL_DIRECTIONS = /* multi line expression */
const std::array< Direction2D, 4 > ORTHOGONAL_DIRECTIONS = /* multi line expression */

Public Functions

Type Name
std::array< Coordinate2D< T >, 4 > orthogonal_neighbors (const Coordinate2D< T > & coord)

Public Attributes Documentation

variable ALL_DIRECTIONS

const std::array<Direction2D, 8> ALL_DIRECTIONS;

variable ORTHOGONAL_DIRECTIONS

const std::array<Direction2D, 4> ORTHOGONAL_DIRECTIONS;

Public Functions Documentation

function orthogonal_neighbors

template<typename T, typename>
std::array< Coordinate2D < T >, 4 > orthogonal_neighbors (
    const  Coordinate2D < T > & coord
) 


The documentation for this class was generated from the following file /home/runner/work/Blaze/Blaze/src/lib/utilities/coordinate.hpp