Table of Contents

Class CartToPolar

Namespace
Bonsai.Dsp
Assembly
Bonsai.Dsp.dll

Represents an operator that computes the magnitude and angle of each array of 2D vectors in the sequence.

public class CartToPolar : ArrayTransform
Inheritance
CartToPolar
Inherited Members

Properties

AngleInDegrees

Gets or sets a value specifying whether vector angle values are measured in degrees.

Methods

Process(IObservable<Point2d>)

Computes the magnitude and angle for each pair of 2D points in the sequence.

Process(IObservable<Point2f>)

Computes the magnitude and angle for each pair of 2D points in the sequence.

Process(IObservable<Tuple<double, double>>)

Computes the polar coordinates for each pair of cartesian coordinates in the sequence.

Process(IObservable<Tuple<float, float>>)

Computes the polar coordinates for each pair of cartesian coordinates in the sequence.

Process<TArray>(IObservable<Tuple<TArray, TArray>>)

Computes the magnitude and angle for each pair of cartesian coordinates in the sequence.

Process<TArray>(IObservable<TArray>)

Computes the magnitude and angle of each array of 2D vectors in the sequence.