Curves.Spline.Curve (curves v0.2.5)

Copy Markdown View Source

Struct representing a spline

Summary

Types

t()

@type t() :: %Curves.Spline.Curve{
  max_u: float(),
  mod: module(),
  opts: Curves.Utils.Types.opts(),
  origin: Nx.Tensor.t(),
  points: Nx.Tensor.t(),
  segments: list(),
  type: atom(),
  xmax: Curves.Utils.Types.coord(),
  xmin: Curves.Utils.Types.coord(),
  ymax: Curves.Utils.Types.coord(),
  ymin: Curves.Utils.Types.coord()
}
fielddescription
:pointsA tensor representing 2D points
:xmaxthe highest x coord in the tensor
:xminthe lowest x coord in the tensor
:yminthe lowest y coord in the tensor
:ymaxthe highest y coord in the tensor
:originthe origin of the graph.
:optsThe keyword list of options