Table of Contents

Struct PolarCoordinates

Namespace
ScottPlot
Assembly
ScottPlot.dll

Represents a point in polar coordinate space

public struct PolarCoordinates
Inherited Members
Extension Methods

Constructors

PolarCoordinates(double, Angle)

Represents a point in polar coordinate space

public PolarCoordinates(double radius, Angle angle)

Parameters

radius double
angle Angle

Properties

Angle

public Angle Angle { readonly get; set; }

Property Value

Angle

CartesianCoordinates

[Obsolete("use ToCartesian()", true)]
public Coordinates CartesianCoordinates { get; }

Property Value

Coordinates

Radius

public double Radius { readonly get; set; }

Property Value

double

Methods

FromCartesian(Coordinates)

public static PolarCoordinates FromCartesian(Coordinates pt)

Parameters

pt Coordinates

Returns

PolarCoordinates

FromCartesian(Coordinates, Coordinates)

public static PolarCoordinates FromCartesian(Coordinates pt, Coordinates origin)

Parameters

pt Coordinates
origin Coordinates

Returns

PolarCoordinates

ToCartesian()

public Coordinates ToCartesian()

Returns

Coordinates

ToCartesian(Coordinates)

public Coordinates ToCartesian(Coordinates origin)

Parameters

origin Coordinates

Returns

Coordinates

ToString()

Returns the fully qualified type name of this instance.

public override readonly string ToString()

Returns

string

The fully qualified type name.

WithAngle(Angle)

public PolarCoordinates WithAngle(Angle angle)

Parameters

angle Angle

Returns

PolarCoordinates

WithAngleDegrees(double)

public PolarCoordinates WithAngleDegrees(double degrees)

Parameters

degrees double

Returns

PolarCoordinates

WithAngleRadians(double)

public PolarCoordinates WithAngleRadians(double radians)

Parameters

radians double

Returns

PolarCoordinates

WithRadius(double)

public PolarCoordinates WithRadius(double radius)

Parameters

radius double

Returns

PolarCoordinates