A class for Points, inheriting from IPoint. More...
#include <Point.h>
Instance Methods | |
| (instancetype) | - initWithX:y: |
| Initializes a new instance with the given x and y. | |
Additional Inherited Members | |
Properties inherited from APair | |
| float | x |
| float | y |
Properties inherited from <IPair> | |
| float | x |
| First value. e.g., Horizontal, x, position of a point. | |
| float | y |
| Second value. e.g., Vertical, y, position of a point. | |
A class for Points, inheriting from IPoint.
This class provides an implementation for a point in a 2D coordinate system, defining both the horizontal (x) and vertical (y) positions.
| - (instancetype) initWithX: | (float) | x | |
| y: | (float) | y |