14 lines
237 B
TypeScript
14 lines
237 B
TypeScript
/**
|
|
* Represents a Point in a 2 dimensional coordinate system.
|
|
*/
|
|
export interface Point {
|
|
/**
|
|
* The X coordinate of this Point. (double)
|
|
*/
|
|
x: number;
|
|
/**
|
|
* The Y coordinate of this Point. (double)
|
|
*/
|
|
y: number;
|
|
}
|