Forms with mutable Area
Point2D Class Reference

Class containing a point in 2D. More...

#include <form.h>

Public Member Functions

 Point2D ()
 Constructor without parameters. Defines the point to the origin (0.0). More...
 
 Point2D (float x, float y)
 Constructor. More...
 
float GetX () const
 Getter. More...
 
float GetY () const
 Getter. More...
 

Detailed Description

Class containing a point in 2D.

Definition at line 11 of file form.h.

Constructor & Destructor Documentation

◆ Point2D() [1/2]

Point2D::Point2D ( )
inline

Constructor without parameters. Defines the point to the origin (0.0).

Definition at line 17 of file form.h.

◆ Point2D() [2/2]

Point2D::Point2D ( float  x,
float  y 
)
inline

Constructor.

Parameters
[in]xcoordinate in x direction
[in]ycoordinate in y direction

Definition at line 24 of file form.h.

Member Function Documentation

◆ GetX()

float Point2D::GetX ( ) const
inline

Getter.

Returns
x coordinate

Definition at line 28 of file form.h.

Here is the caller graph for this function:

◆ GetY()

float Point2D::GetY ( ) const
inline

Getter.

Returns
y coordinate

Definition at line 32 of file form.h.

Here is the caller graph for this function:

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