Limbo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Public Attributes | List of all members
Point Struct Reference

a custom point class More...

Public Types

typedef int value_type
 coordinate type
 

Public Member Functions

value_type const & x () const
 access x coordinate More...
 
value_type const & y () const
 access y coordinate More...
 
void x (value_type v)
 set x coordinate
 
void y (value_type v)
 set y coordinate
 

Public Attributes

value_type m_x
 x coordinate
 
value_type m_y
 y coordinate
 

Detailed Description

a custom point class

Definition at line 22 of file test_p2r.cpp.

Member Function Documentation

value_type const& Point::x ( ) const
inline

access x coordinate

Returns
x coordinate

Definition at line 34 of file test_p2r.cpp.

value_type const& Point::y ( ) const
inline

access y coordinate

Returns
y coordinate

Definition at line 39 of file test_p2r.cpp.


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