Table of Contents

Class CreatePoint3d

Namespace
Bonsai.Vision
Assembly
Bonsai.Vision.dll

Represents an operator that creates a 3D point with double-precision floating-point coordinates.

public class CreatePoint3d : Source<Point3d>
Inheritance
CreatePoint3d
Inherited Members

Properties

X

Gets or sets the x-coordinate of the point.

public double X { get; set; }

Property Value

double

Y

Gets or sets the y-coordinate of the point.

public double Y { get; set; }

Property Value

double

Z

Gets or sets the z-coordinate of the point.

public double Z { get; set; }

Property Value

double

Methods

Generate()

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

public override IObservable<Point3d> Generate()

Returns

IObservable<Point3d>

A sequence containing the created Point3d.

Generate<TSource>(IObservable<TSource>)

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

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

Parameters

source IObservable<TSource>

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

Returns

IObservable<Point3d>

The sequence of created Point3d objects.

Type Parameters

TSource

The type of the elements in the source sequence.