Concrete.CPath
Concrete Paths
val length : t -> float
val is_closed : t -> bool
intersection p1 p2 return a list of pair of abscissa. In each pairs (a1,a2), a1 (resp. a2) is the abscissa in p1 (resp. p2) of one intersection point between p1 and p2. Additionnal point of intersection (two point for only one real intersection) can appear in degenerate case.
one_intersection p1 p2 return one of the intersections between p1 and p2 or raise Not_found if none exists
iter on all the splines of a path: iter f p applies f successively to the splines of p with :
fold on all the splines of a path
remove the part of a path before the first intersection or after the last
val print : Stdlib.Format.formatter -> t -> unit