Public Member Functions | |
| PointT (T x, T y) | |
| Initializes a new instance of the PointT<T> class with specified coordinates. | |
| override bool | Equals (object? obj) |
| Determines whether the specified object is equal to the current PointT<T>. | |
| override int | GetHashCode () |
| Returns a hash code for the current point. | |
| override string | ToString () |
| Converts the PointT<T> to a string representation. | |
Properties | |
| T | X [get] |
| Gets the X coordinate of the point. | |
| T | Y [get] |
| Gets the Y coordinate of the point. | |
Represents a 2D point with generic coordinates.
| T | The type of the coordinates (e.g., int, float). |
|
inline |
|
inline |
|
inline |
|
inline |