tess 1.0.0
Performance-first tile and path simulation substrate
Loading...
Searching...
No Matches
tess::Coord2 Struct Reference

#include <tess/core/shape.h>

Public Member Functions

constexpr operator Coord3 () const noexcept

Public Attributes

std::int64_t x = 0
std::int64_t y = 0

Friends

constexpr bool operator== (Coord2 lhs, Coord2 rhs) noexcept=default

Detailed Description

Signed coordinate in a two-dimensional consumer view.

Member Function Documentation

◆ operator Coord3()

tess::Coord2::operator Coord3 ( ) const
nodiscardconstexprnoexcept

Losslessly lifts this coordinate into the canonical z-zero plane.

Implements the lossless lift into the canonical z-zero plane.


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