EasyNav Plugins
Loading...
Searching...
No Matches
CoordT Struct Reference

#include <grid_coord.hpp>

Collaboration diagram for CoordT:

Public Member Functions

bool operator!= (const CoordT &other) const
CoordT operator+ (const CoordT &other) const
CoordToperator+= (const CoordT &other)
CoordT operator- (const CoordT &other) const
CoordToperator-= (const CoordT &other)
bool operator== (const CoordT &other) const
int32_t & operator[] (size_t index)

Public Attributes

int32_t x
int32_t y
int32_t z

Member Function Documentation

◆ operator!=()

bool operator!= ( const CoordT & other) const
nodiscard

◆ operator+()

CoordT operator+ ( const CoordT & other) const
nodiscard

◆ operator+=()

CoordT & operator+= ( const CoordT & other)

◆ operator-()

CoordT operator- ( const CoordT & other) const
nodiscard

◆ operator-=()

CoordT & operator-= ( const CoordT & other)

◆ operator==()

bool operator== ( const CoordT & other) const
nodiscard

◆ operator[]()

int32_t & operator[] ( size_t index)
nodiscard

Member Data Documentation

◆ x

int32_t x

◆ y

int32_t y

◆ z

int32_t z

The documentation for this struct was generated from the following file: