Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TraceGenerator

A trace data generator. Generates random points that can go to any direction from the previous point.

To create a new instance of trace data generator use createTraceGenerator factory.

Hierarchy

Index

Constructors

Methods

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.

setNumberOfPoints

  • Returns a new Data generator with the new numberOfPoints.

    Parameters

    • numberOfPoints: number

      How many points of data to generate

    Returns TraceGenerator