Skip to content

Class LineCoord2D

template <typename T, typename>

ClassList > LineCoord2D

Inherits the following classes: Coordinate2D

Inherited by the following classes: LineCoord2DCrossing

Public Functions

Type Name
LineCoord2D (T x, T y, Direction2D dir)
LineCoord2D (const Coordinate2D< T > & coord, Direction2D dir)
Direction2D dir () const
Coordinate2D< T > end () const
Coordinate2D< T > start () const

Public Functions inherited from Coordinate2D

See Coordinate2D

Type Name
Coordinate2D (T x, T y)
Coordinate2D () = default
T magnitude () const
T magnitude_sqd () const
Coordinate2D< double > offset_to_center () const
operator Coordinate2D< U > () const
Coordinate2D operator+ (Direction2D dir) const
Coordinate2D operator+ (Coordinate2D o) const
Coordinate2D operator- (Coordinate2D o) const
bool operator== (const Coordinate2D & o) const
Coordinate2D< size_t > round () const
Coordinate2D< double > round_NW (double grid_size) const
const T & x () const
T & x ()
const T & y () const
T & y ()

Public Functions Documentation

function LineCoord2D [1/2]

inline LineCoord2D::LineCoord2D (
    T x,
    T y,
    Direction2D dir
) 

function LineCoord2D [2/2]

inline LineCoord2D::LineCoord2D (
    const  Coordinate2D < T > & coord,
    Direction2D dir
) 

function dir

inline Direction2D LineCoord2D::dir () const

function end

inline Coordinate2D < T > LineCoord2D::end () const

function start

inline Coordinate2D < T > LineCoord2D::start () const

Friends Documentation

friend operator<<

inline std::ostream & LineCoord2D::operator<< (
    std::ostream & os,
    const  LineCoord2D & line_coord
) 


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