Signapse
Public Member Functions | Public Attributes | List of all members
Point Struct Reference

Struct Point. More...

#include <Scene.h>

Collaboration diagram for Point:
Collaboration graph

Public Member Functions

 Point ()
 
 Point (const Point &cpy)
 
 Point (int x, int y)
 

Public Attributes

int x
 
int y
 

Detailed Description

Struct Point.

Data structure hold point information for integer points

Definition at line 11 of file Scene.h.

Constructor & Destructor Documentation

◆ Point() [1/3]

Point::Point ( )
inline

Definition at line 14 of file Scene.h.

14: x(0), y(0) {}
int y
Definition: Scene.h:13
int x
Definition: Scene.h:13

◆ Point() [2/3]

Point::Point ( const Point cpy)
inline

Definition at line 15 of file Scene.h.

15: x(cpy.x), y(cpy.y) {}

◆ Point() [3/3]

Point::Point ( int  x,
int  y 
)
inline

Definition at line 16 of file Scene.h.

16: x(x), y(y) {}

Member Data Documentation

◆ x

int Point::x

Definition at line 13 of file Scene.h.

◆ y

int Point::y

Definition at line 13 of file Scene.h.


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