View Source Terrestrial.Interpolation (terrestrial v0.1.0)

Summary

Functions

Doesn't support sections yets, pretends every point is consecutive.

Types

method()

@type method() :: :linear | :monotone | :stepped

t()

@type t() :: %Terrestrial.Interpolation{
  attrs: list(),
  color: String.t(),
  dashed: list(),
  design: any(),
  method: method() | nil,
  opacity: float(),
  width: float()
}

Functions

linear(points)

@spec linear([list()]) :: [list()]

Doesn't support sections yets, pretends every point is consecutive.