Module IntAGeom.Point2d

module Point2d: sig .. end

type t = IntAGeom.point2d 
(x, y)
val of_point3d : IntAGeom.point3d -> t
val sq_dist : t -> t -> int
Square of the distance between two point
val midpoint : t -> t -> t
Point2d.midpoint a b returns the middle point of the line segment ab (wp)
val dot : t -> t -> int
Dot product on the Wiki
val rand : t -> t -> t
Point2d.rand a b returns a point with coords between those of a and b
module Infix: sig .. end