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
Properties
Angle
public Angle Angle { readonly get; set; }
Property Value
CartesianCoordinates
[Obsolete("use ToCartesian()", true)]
public Coordinates CartesianCoordinates { get; }
Property Value
Radius
public double Radius { readonly get; set; }
Property Value
Methods
FromCartesian(Coordinates)
public static PolarCoordinates FromCartesian(Coordinates pt)
Parameters
pt
Coordinates
Returns
FromCartesian(Coordinates, Coordinates)
public static PolarCoordinates FromCartesian(Coordinates pt, Coordinates origin)
Parameters
pt
Coordinatesorigin
Coordinates
Returns
ToCartesian()
public Coordinates ToCartesian()
Returns
ToCartesian(Coordinates)
public Coordinates ToCartesian(Coordinates origin)
Parameters
origin
Coordinates
Returns
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
WithAngleDegrees(double)
public PolarCoordinates WithAngleDegrees(double degrees)
Parameters
degrees
double
Returns
WithAngleRadians(double)
public PolarCoordinates WithAngleRadians(double radians)
Parameters
radians
double
Returns
WithRadius(double)
public PolarCoordinates WithRadius(double radius)
Parameters
radius
double