Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Interface using Gg.p2
to represent points.
val param :
?n:int ->
?viewport:Gg.Box2.t ->
?init:float list ->
?init_pt:(float * Gg.p2) list ->
(float -> Gg.p2) ->
float ->
float ->
[ `Fn ] t
See Curve_sampling.param
.
uniform f a b
return a sampling of the image of f
on n
equidistant points in the interval [a
, b
] (the boundaries a
and b
being always included — so n >= 2
).
val to_list : _ t -> point_or_cut list
to_list s
return the sampling as a list of points in increasing order of the parameter of the curve. The curve is possibly made of several pieces separated by a single Cut
.
val to_seq : _ t -> point_or_cut Seq.t