Loading...
Searching...
No Matches
meshkit::native_detail::Coordinate Struct Reference

Exact hash-map key of an XY point: the bit patterns of its two doubles. More...

#include </home/runner/work/Meshkit/Meshkit/src/native/mixed.hpp>

Collaboration diagram for meshkit::native_detail::Coordinate:

Public Member Functions

bool operator== (const Coordinate &b) const
 Bitwise equality of both patterns.
 

Public Attributes

std::uint64_t x = 0
 IEEE-754 bit pattern of x (see coordinate()).
 
std::uint64_t y = 0
 IEEE-754 bit pattern of y.
 

Detailed Description

Exact hash-map key of an XY point: the bit patterns of its two doubles.

Member Function Documentation

◆ operator==()

bool meshkit::native_detail::Coordinate::operator== ( const Coordinate & b) const
inline

Bitwise equality of both patterns.

Parameters
[in]bKey to compare with.
Returns
True when both bit patterns match.

Member Data Documentation

◆ x

std::uint64_t meshkit::native_detail::Coordinate::x = 0

IEEE-754 bit pattern of x (see coordinate()).

◆ y

std::uint64_t meshkit::native_detail::Coordinate::y = 0

IEEE-754 bit pattern of y.


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