Volume Cartographer 2.27.0
Public Member Functions | Public Attributes | List of all members
volcart::PerPixelMap::Coord2D Struct Reference
Inheritance diagram for volcart::PerPixelMap::Coord2D:
[legend]

Public Member Functions

 Coord2D ()=default
 
 Coord2D (std::size_t y, std::size_t x)
 

Public Attributes

std::size_t y
 
std::size_t x
 

Detailed Description

Convenience structure for a 2D coordinate

Definition at line 52 of file PerPixelMap.hpp.

Constructor & Destructor Documentation

◆ Coord2D() [1/2]

volcart::PerPixelMap::Coord2D::Coord2D ( )
default

Default constructor

◆ Coord2D() [2/2]

volcart::PerPixelMap::Coord2D::Coord2D ( std::size_t  y,
std::size_t  x 
)
inline

Construct and initialize

Definition at line 56 of file PerPixelMap.hpp.

Member Data Documentation

◆ x

std::size_t volcart::PerPixelMap::Coord2D::x

X component

Definition at line 60 of file PerPixelMap.hpp.

◆ y

std::size_t volcart::PerPixelMap::Coord2D::y

Y component

Definition at line 58 of file PerPixelMap.hpp.


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