Clpr.PathsD
Clipping (boolean), offseting, simplification, and minkowski operations on sequences of PathD.t
.
The Clipper2 paths type (std::vector of path)
These lists of contours are not organized hierarchically (by parent-child / outer-hole) relationships, and may include any number of open paths or polygons.
val make : unit -> t
val reserve : t -> int -> unit
reserve t n
Reserves memory for up to n
path elements in the paths vector t
.
val of_tups : (float * float) list list -> t
val to_paths64 : t -> {paths64}7
val scale_to_paths64 :
?sx:float ->
?sy:float ->
t ->
({paths64}7, string) Stdlib.result
val length : t -> int
val sublength : t -> int -> int
val unsafe_sublength : t -> int -> int
val strip_duplicates : ?closed:bool -> t -> unit
val area : t -> float
val bounds : t -> {rectd}1