Clpr.OffsetThis class provides a mixed interface (float and int64). Unlike the purpose built ClipperD.t it does not perform handle the conversion of incoming doubles to int64 using a precision set by the user -- they are simply truncated. Thus if you are working with floats, it is recommended that you make use of the helper function PathsD.inflate at this time.
val make :
?miter_limit:float ->
?arc_tolerance:float ->
?preserve_collinear:bool ->
?reverse_solution:bool ->
unit ->
tval get_miter_limit : t -> floatval set_miter_limit : t -> float -> unitval get_arc_tolerance : t -> floatval set_arc_tolerance : t -> float -> unitval get_preserve_collinear : t -> boolval set_preserve_collinear : t -> bool -> unitval get_reverse_solution : t -> boolval set_reverse_solution : t -> bool -> unitval error_code : t -> intval clear : t -> unit