Table of Contents

Method Generate

Namespace
Bonsai.Vision
Assembly
Bonsai.Vision.dll

Generate()

Generates an observable sequence that contains a single 2D point with double-precision floating-point coordinates.

public override IObservable<Point2d> Generate()

Returns

IObservable<Point2d>

A sequence containing the created Point2d.

Generate<TSource>(IObservable<TSource>)

Generates an observable sequence of 2D points using the specified double-precision floating-point coordinates, and where each Point2d object is emitted only when an observable sequence emits a notification.

public IObservable<Point2d> Generate<TSource>(IObservable<TSource> source)

Parameters

source IObservable<TSource>

The sequence containing the notifications used for emitting new 2D points.

Returns

IObservable<Point2d>

The sequence of created Point2d objects.

Type Parameters

TSource

The type of the elements in the source sequence.