package geoml

  1. Overview
  2. Docs

Module Polygon.ConvexSource

Sourcetype nonrec t = private t
Sourceval to_list : t -> Point.t list
Sourceval fold : ('a -> Point.t -> Point.t -> 'a) -> 'a -> t -> 'a
Sourceval hull : Point.t list -> t

hull pts returns the smallest convex polygon that contains all the points in pts

Sourceval bounding : Point.t list -> t

alias for hull

Sourcemodule Regular : sig ... end

Module for Regular polygons