Show / Hide Table of Contents

Class DirectionCalculator

Calculates direction.

Inheritance
System.Object
DirectionCalculator
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public static class DirectionCalculator

Methods

Angle(Coordinate, Coordinate, Coordinate)

Calculates the angle in randians at coordinate2.

Declaration
public static float Angle(Coordinate coordinate1, Coordinate coordinate2, Coordinate coordinate3)
Parameters
Coordinate coordinate1

Coordinate coordinate2

Coordinate coordinate3

Returns
System.Single

Calculate(Coordinate, Coordinate)

Calculates the direction of a segment.

Declaration
public static DirectionEnum Calculate(Coordinate coordinate1, Coordinate coordinate2)
Parameters
Coordinate coordinate1

Coordinate coordinate2

Returns
DirectionEnum

Calculate(Coordinate, Coordinate, Coordinate)

Calculates the direction of one line segment relative to another.

Declaration
public static RelativeDirection Calculate(Coordinate coordinate1, Coordinate coordinate2, Coordinate coordinate3)
Parameters
Coordinate coordinate1

Coordinate coordinate2

Coordinate coordinate3

Returns
RelativeDirection

Back to top Built by Itinero, MIT licensed.