Click or drag to resize

Polar Structure

A set of curvilinear 2-dimensional coordinates.

Namespace:  AGI.Foundation.Coordinates
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public struct Polar : IEquatable<Polar>, 
	IEquatableEpsilon<Polar>

The Polar type exposes the following members.

Constructors
  NameDescription
Public methodPolar(Double)
Initializes a set of Polar coordinates from the first 2 consecutive elements in the provided array.
Public methodPolar(Rectangular)
Initializes a set of Polar coordinates from the provided set of Rectangular coordinates.
Public methodPolar(Double, Double)
Initializes a set of Polar coordinates from the provided values.
Public methodPolar(Double, Int32)
Initializes a set of Polar coordinates from 2 consecutive elements in the provided array.
Top
Properties
  NameDescription
Public propertyClock
Gets the angular coordinate lying in the xy-plane measured from the positive x-axis and toward the positive y-axis.
Public propertyItem
Gets the value of the specified element with index of 0 and 1 corresponding to the coordinates Clock, and Radial.
Public propertyLength
Gets the number of elements in this set of coordinates.
Public propertyRadial
Gets the linear coordinate perpendicular to the z-axis.
Public propertyStatic memberZero
Gets a set of Polar coordinates with values of zero.
Top
Methods
  NameDescription
Public methodEquals(Object)
Indicates whether another object is exactly equal to this instance.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(Polar)
Indicates whether another instance of this type is exactly equal to this instance.
Public methodEqualsEpsilon
Indicates whether each coordinate value of another instance of this type is within the required tolerance of the corresponding coordinate value of this instance.
Public methodGetHashCode
Returns a hash code for this instance, which is suitable for use in hashing algorithms and data structures like a hash table.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns the string representation of the value of this instance.
(Overrides ValueTypeToString.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Returns if the two instances are exactly equal.
Public operatorStatic memberInequality
Returns if the two instances are not exactly equal.
Top
Remarks
The corresponding 3-dimensional coordinates are Cylindrical coordinates.
See Also