Now we don't have to write these functions ourselves, they're built in!

Point(x:Number, y:Number)
Creates a new point.

add(v:Point) : Point
Adds the coordinates of another point to the coordinates of this point to create a new point.

clone() : Point
Creates a copy of this Point object.

distance(pt1:Point, pt2:Point) : Number
Returns the distance between pt1 and pt2.

equals(toCompare:Object) : Boolean
Determines whether two points are equal.

interpolate(pt1:Point, pt2:Point, f:Number) : Point
Determines a point between two specified points.

normalize(length:Number) : Void
Scales the line segment between (0,0) and the current point to a set length.

offset(dx:Number, dy:Number) : Void
Offsets the Point object by the specified amount.

polar(len:Number, angle:Number) : Point
Converts a pair of polar coordinates to a cartesian point coordinate.

subtract(v:Point) : Point
Subtracts the coordinates of another point from the coordinates of this point to create a new point.

toString() : String
Returns a string that contains the values of the x and y coordinates.


I'm wondering if they're any faster?