attrtypes/point.hpp

template<typename T>
struct gviz::attrtypes::Point2D

Public Types

using list_type = std::vector<Point2D<T>>

Public Functions

inline constexpr Point2D()
inline constexpr Point2D(T x, T y)

Public Members

T x
T y

Friends

template<typename U>
inline friend constexpr bool operator==(const Point2D &lhs, const Point2D<U> &rhs)
template<typename U>
inline friend constexpr bool operator!=(const Point2D &lhs, const Point2D<U> &rhs)
template<typename U>
inline friend constexpr Point2D operator+(const Point2D &lhs, const Point2D<U> &rhs)
template<typename U>
inline friend constexpr Point2D operator-(const Point2D &lhs, const Point2D<U> &rhs)
template<typename T>
struct gviz::attrtypes::Point3D

Public Types

using list_type = std::vector<Point3D<T>>

Public Functions

inline constexpr Point3D()
inline constexpr Point3D(T x, T y, T z)

Public Members

T x
T y
T z

Friends

template<typename U>
inline friend constexpr bool operator==(const Point3D &lhs, const Point3D<U> &rhs)
template<typename U>
inline friend constexpr bool operator!=(const Point3D &lhs, const Point3D<U> &rhs)
template<typename U>
inline friend constexpr Point3D operator+(const Point3D &lhs, const Point3D<U> &rhs)
template<typename U>
inline friend constexpr Point3D operator-(const Point3D &lhs, const Point3D<U> &rhs)
template<typename T>
struct gviz::attrtypes::PointType

Public Types

using point_type = std::variant<Point2D<T>, Point3D<T>>

Public Functions

inline constexpr PointType()
inline constexpr PointType(T x, T y)
inline constexpr PointType(T x, T y, T z)
inline constexpr PointType(point_type p)
inline constexpr bool operator==(const PointType &other) const
inline constexpr bool operator!=(const PointType &other) const
inline constexpr bool operator+(const PointType &other) const
inline constexpr bool operator-(const PointType &other) const
inline constexpr operator Point2D<T>() const
inline constexpr operator Point3D<T>() const

Public Members

point_type point
namespace gviz
namespace attrtypes
file point.hpp
#include <>
#include <>
#include <>
#include <>
#include “”
dir /home/cthulhu/projects/repos/libgvizard/include/gvizard/attrtypes
dir /home/cthulhu/projects/repos/libgvizard/include/gvizard
dir /home/cthulhu/projects/repos/libgvizard/include