Class Coord
Defined in File domain.h
Inheritance Relationships
Derived Type
public kami::GridCoord
(Class GridCoord)
Class Documentation
-
class Coord
Provides a coordinate system for each
Domain
.The coordinate system must be able to produce a human-readable version of the coordinates given. For instance, an integer grid in two dimensions would provide standard Descartes coordinates like (0, 0) for the origin, or (2, 3) for the position that is two units “up” and three units to the “right” of the origin. Implementation of a coordinate system is left up to the user, though there are several established systems provided.
See also
Subclassed by kami::GridCoord
Public Functions
Friends
-
friend std::ostream &operator<<(std::ostream &lhs, const Coord &rhs)
Output a
Coord
to the specified output stream.The form of the output will be the same as that produced by the
to_string()
member function.
-
friend std::ostream &operator<<(std::ostream &lhs, const Coord &rhs)