Code Review
/
sdc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
8fece5af9970ef8c0413882286e64e37e663fb23
[sdc.git]
/
catalog-ui
/
src
/
app
/
models
/
graph
/
point.ts
1
/**
2
* Created by obarda on 11/7/2016.
3
*/
4
export class Point {
5
/**
6
* The two-argument constructor produces the Point(x, y).
7
* @param {number} x
8
* @param {number} y
9
*/
10
constructor(x?:number, y?:number) {
11
this.x = x || 0;
12
this.y = y || 0;
13
}
14
15
/**Gets or sets the x value of the Point.*/
16
x:number;
17
18
/**Gets or sets the y value of the Point.*/
19
y:number;
20
}