OpenTTD Source 20241224-master-gf74b0cf984
Point Struct Reference

Coordinates of a point in 2D. More...

#include <geometry_type.hpp>

Public Member Functions

constexpr Point (int x, int y)
 

Data Fields

int x
 
int y
 

Detailed Description

Coordinates of a point in 2D.

Definition at line 21 of file geometry_type.hpp.

Constructor & Destructor Documentation

◆ Point() [1/2]

constexpr Point::Point ( )
inlineconstexpr

Definition at line 25 of file geometry_type.hpp.

◆ Point() [2/2]

constexpr Point::Point ( int  x,
int  y 
)
inlineconstexpr

Definition at line 26 of file geometry_type.hpp.

Field Documentation

◆ x

int Point::x

Definition at line 22 of file geometry_type.hpp.

◆ y

int Point::y

Definition at line 23 of file geometry_type.hpp.


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