Curves.Bezier.Curve (curves v0.2.3)

Copy Markdown View Source

This module is meant to only be used internally. You are probably looking for Curves.define_bezier/2 or Curves.solve/3

Summary

Types

t()

@type t() :: %Curves.Bezier.Curve{
  mode: :edit | :run,
  opts: Curves.Utils.Types.opts(),
  origin: Nx.Tensor.t(),
  points: Nx.Tensor.t(),
  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
:modeNot yet used. Maybe removed in future versions
:originthe origin of the graph.
:optsThe keyword list of options