Show / Hide Table of Contents

Class EdgeDataSerializer

Parses edge data.

Inheritance
System.Object
EdgeDataSerializer
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 EdgeDataSerializer

Fields

MAX_DISTANCE

Holds the maxium distance that can be stored on an edge.

Declaration
public const float MAX_DISTANCE = 26214.3F
Field Value
System.Single

MAX_PROFILE_COUNT

Holds the maximum profile count.

Declaration
public const ushort MAX_PROFILE_COUNT = 16384
Field Value
System.UInt16

Properties

Size

Returns the size of a the data in uint's when serialized.

Declaration
public static int Size { get; }
Property Value
System.Int32

Methods

Deserialize(UInt32, out Single, out UInt16)

Parses the profile id.

Declaration
public static void Deserialize(uint value, out float distance, out ushort profile)
Parameters
System.UInt32 value

System.Single distance

System.UInt16 profile

Deserialize(UInt32[])

Deserializes edges data.

Declaration
public static EdgeData Deserialize(uint[] data)
Parameters
System.UInt32[] data

Returns
EdgeData

Serialize(EdgeData)

Serializes edge data.

Declaration
public static uint[] Serialize(EdgeData data)
Parameters
EdgeData data

Returns
System.UInt32[]

Serialize(Single, UInt16)

Serializes edge data.

Declaration
public static uint[] Serialize(float distance, ushort profile)
Parameters
System.Single distance

System.UInt16 profile

Returns
System.UInt32[]

Back to top Built by Itinero, MIT licensed.