Class TripPositionCoordinateConverter
Inheritance
System.Object
Newtonsoft.Json.JsonConverter
NetTopologySuite.IO.Converters.CoordinateConverter
TripPositionCoordinateConverter
Inherited Members
NetTopologySuite.IO.Converters.CoordinateConverter.WriteJsonCoordinate(Newtonsoft.Json.JsonWriter, NetTopologySuite.Geometries.Coordinate)
NetTopologySuite.IO.Converters.CoordinateConverter.ReadJson(Newtonsoft.Json.JsonReader, System.Type, System.Object, Newtonsoft.Json.JsonSerializer)
Newtonsoft.Json.JsonConverter.CanRead
Newtonsoft.Json.JsonConverter.CanWrite
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: SOHMultimodalModel.Output.Trips
Assembly: SOHMultimodalModel.dll
Syntax
public class TripPositionCoordinateConverter : CoordinateConverter
Methods
| Improve this Doc View SourceCanConvert(Type)
Predicate function to check if an instance of
objectType
can be converted using this converter.
Declaration
public override bool CanConvert(Type objectType)
Parameters
Type | Name | Description |
---|---|---|
System.Type | objectType | The type of the object to convert |
Returns
Type | Description |
---|---|
System.Boolean |
|
Overrides
NetTopologySuite.IO.Converters.CoordinateConverter.CanConvert(System.Type)
|
Improve this Doc
View Source
WriteJson(JsonWriter, Object, JsonSerializer)
Writes a coordinate, a coordinate sequence or an enumeration of coordinates to JSON
Declaration
public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
Parameters
Type | Name | Description |
---|---|---|
Newtonsoft.Json.JsonWriter | writer | The writer |
System.Object | value | The coordinate |
Newtonsoft.Json.JsonSerializer | serializer | The serializer |
Overrides
NetTopologySuite.IO.Converters.CoordinateConverter.WriteJson(Newtonsoft.Json.JsonWriter, System.Object, Newtonsoft.Json.JsonSerializer)
|
Improve this Doc
View Source
WriteJsonCoordinate(JsonWriter, Coordinate, JsonSerializer)
Writes a single coordinate to JSON
Declaration
protected static void WriteJsonCoordinate(JsonWriter writer, Coordinate coordinate, JsonSerializer serializer)
Parameters
Type | Name | Description |
---|---|---|
Newtonsoft.Json.JsonWriter | writer | The writer |
NetTopologySuite.Geometries.Coordinate | coordinate | The coordinate |
Newtonsoft.Json.JsonSerializer | serializer | The serializer |