Constructor Summary
Public Constructor | ||
public |
constructor(x: number, y: number) Creates an instance of Point. |
Method Summary
Public Methods | ||
public |
distance(pt: *): * |
|
public |
divide(scalar: *): * |
|
public |
dotProduct(v: *): * |
|
public |
magnitude(): * |
|
public |
subtract(pt: *): * |