Template Struct Point#

Struct Documentation#

template<typename T>
struct Point#

The Point structure is used to represent a two-dimensional point with x and y coordinates.

Public Functions

bool operator==(const Point &other) const = default#

Compares with other and returns true if they are equal; false otherwise.

Public Members

T x#

The x coordinate of the point.

T y#

The y coordinate of the point.