Point2d
Name | Type | Description |
---|---|---|
_x0 |
Number | the x coordinate |
_y0 |
Number | the y coordinate |
Methods
-
distance to another point
Name Type Description other
Utils.Point2d point to measure distance to Returns:
Type Description Number the distance between the points -
gets x position
Returns:
Type Description Number current x position of point -
gets y position
Returns:
Type Description Number current y position of point -
sets x position
Name Type Description x
Number new x position -
sets y position
Name Type Description y
Number new y position