Class type Goog.​Math.​coordinate
class type coordinate = object..end
method clone : coordinate Js.t Js.meth
method toString : Js.js_string Js.t Js.meth
Returns a nice js_string t representing the coordinate.
method equals : coordinate Js.t -> coordinate Js.t -> bool Js.meth
Compares coordinates for equality.
method distance : coordinate Js.t -> coordinate Js.t -> float Js.meth
Returns the distance between two coordinates.
method squaredDistance :
coordinate Js.t ->
coordinate Js.t -> float Js.t Js.meth
Returns the squared distance between two coordinates.
method difference :
coordinate Js.t ->
coordinate Js.t -> coordinate Js.t Js.meth
Returns the difference between two coordinates as a new goog.math.Coordinate.
method sum :
coordinate Js.t ->
coordinate Js.t -> coordinate Js.t Js.meth
Returns the sum of two coordinates as a new goog.math.Coordinate.
