OpenTTD Source 20250426-master-gbb1d561369
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 32 of file geometry_type.hpp.

Constructor & Destructor Documentation

◆ Point() [1/2]

constexpr Point::Point ( )
inlineconstexpr

Definition at line 36 of file geometry_type.hpp.

◆ Point() [2/2]

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

Definition at line 37 of file geometry_type.hpp.

Field Documentation

◆ x

int Point::x

Definition at line 33 of file geometry_type.hpp.

◆ y

int Point::y

Definition at line 34 of file geometry_type.hpp.


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