Show / Hide Table of Contents

Class PolarCoordinateSerialized

Serializable (pure-data) object representing a PolarCoordinate.

Inheritance
Object
PolarCoordinateSerialized
Namespace: SadRogue.Primitives.SerializedTypes
Assembly: TheSadRogue.Primitives.dll
Syntax
public sealed class PolarCoordinateSerialized : ValueType

Fields

Radius

The distance away from the Origin (0,0) of this Polar Coord

Declaration
public double Radius
Field Value
Type Description
Double

Theta

The angle of rotation, clockwise, in radians

Declaration
public double Theta
Field Value
Type Description
Double

Operators

Implicit(PolarCoordinate to PolarCoordinateSerialized)

Converts from PolarCoordinate to PolarCoordinateSerialized.

Declaration
public static implicit operator PolarCoordinateSerialized(PolarCoordinate point)
Parameters
Type Name Description
PolarCoordinate point
Returns
Type Description
PolarCoordinateSerialized

Implicit(PolarCoordinateSerialized to PolarCoordinate)

Converts from PolarCoordinateSerialized to PolarCoordinate.

Declaration
public static implicit operator PolarCoordinate(PolarCoordinateSerialized serialized)
Parameters
Type Name Description
PolarCoordinateSerialized serialized
Returns
Type Description
PolarCoordinate

Extension Methods

PropertyChangedEventHelpers.SafelySetProperty<TObject, TProperty>(TObject, ref TProperty, TProperty, EventHandler<ValueChangedEventArgs<TProperty>>)
PropertyChangedEventHelpers.SafelySetProperty<TObject, TProperty>(TObject, ref TProperty, TProperty, EventHandler<ValueChangedEventArgs<TProperty>>, EventHandler<ValueChangedEventArgs<TProperty>>)
In This Article
Back to top Generated by DocFX