Adobe Source Libraries 1.49.0
A collection of C++ libraries.
Loading...
Searching...
No Matches
point_2d< T > Struct Template Reference

#include <extents.hpp>

Inheritance diagram for point_2d< T >:

Public Member Functions

 point_2d ()
 point_2d (const T &x, const T &y)

Public Attributes

x_m
y_m

Friends

void swap (const point_2d &x, const point_2d &y) BOOST_NOEXCEPT
bool operator== (const point_2d &x, const point_2d &y)

Detailed Description

template<typename T = int>
struct adobe::point_2d< T >

Definition at line 25 of file extents.hpp.

Constructor & Destructor Documentation

◆ point_2d() [1/2]

template<typename T = int>
point_2d ( )

Definition at line 26 of file extents.hpp.

◆ point_2d() [2/2]

template<typename T = int>
point_2d ( const T & x,
const T & y )

Definition at line 28 of file extents.hpp.

◆ swap

template<typename T = int>
void swap ( const point_2d< T > & x,
const point_2d< T > & y )
friend

Definition at line 33 of file extents.hpp.

◆ operator==

template<typename T = int>
bool operator== ( const point_2d< T > & x,
const point_2d< T > & y )
friend

Definition at line 38 of file extents.hpp.

Member Data Documentation

◆ x_m

template<typename T = int>
T x_m

Definition at line 30 of file extents.hpp.

◆ y_m

template<typename T = int>
T y_m

Definition at line 31 of file extents.hpp.