Show / Hide Table of Contents

Struct PolarCoordinateSerialized

Serializable (pure-data) object representing a PolarCoordinate.

Inherited Members
ValueType.Equals(object)
ValueType.GetHashCode()
ValueType.ToString()
object.GetType()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: SadRogue.Primitives.SerializedTypes
Assembly: TheSadRogue.Primitives.dll
Syntax
public struct PolarCoordinateSerialized

Fields

View Source

Radius

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

Declaration
public double Radius
Field Value
Type Description
double
View Source

Theta

The angle of rotation, clockwise, in radians

Declaration
public double Theta
Field Value
Type Description
double

Operators

View Source

implicit operator PolarCoordinateSerialized(PolarCoordinate)

Converts from PolarCoordinate to PolarCoordinateSerialized.

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

implicit operator PolarCoordinate(PolarCoordinateSerialized)

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>>?)
  • View Source
In this article
Back to top Generated by DocFX