Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ParametricFunctionGenerator

A Parametric function data generator. Generates point data by sampling X and Y functions with for each step t.

To create a new instance of Parametric function data generator use createParametricFunctionGenerator factory.

Hierarchy

Index

Constructors

constructor

Methods

generate

  • Generate new instance of DataHost with unique data. Data is added to the DataHost asynchronously.

    Returns DataHost<Point>

    A new DataHost.

setEnd

  • Returns a new Parametric function generator with the new end t-value.

    Parameters

    • end: number

      End t-value

    Returns ParametricFunctionGenerator

setStart

  • Returns a new Parametric function generator with the new start t-value.

    Parameters

    • start: number

      Start t-value

    Returns ParametricFunctionGenerator

setStep

  • Returns a new Parametric function generator with the new t-step.

    Parameters

    • step: number

      t-step between each sample.

    Returns ParametricFunctionGenerator

setXFunction

  • Returns a new Parametric function generator with the new X-value sampling function.

    Parameters

    Returns ParametricFunctionGenerator

setYFunction

  • Returns a new Parametric function generator with the new Y-value sampling function.

    Parameters

    Returns ParametricFunctionGenerator