C# Class MapAround.Web.JSONMpHelper

ファイルを表示 Open project: gkrsu/maparound.core

Public Methods

Method Description
DrawPoint ( Feature feature, Newtonsoft.Json.Linq.JObject g, BoundingRectangle viewBox, double scaleFactor ) : void

Рисование точки.

DrawPolygon ( Feature feature, Newtonsoft.Json.Linq.JObject g, BoundingRectangle viewBox, double scaleFactor ) : void

Рисование полигона.

DrawPolyline ( Feature feature, Newtonsoft.Json.Linq.JObject g, BoundingRectangle viewBox, double scaleFactor ) : void

Рисование линии.

Private Methods

Method Description
addCrossPointToList ( Segment s1, Segment s2, List list ) : void
drawPolylineSimple ( Newtonsoft.Json.Linq.JObject g, Feature feature, BoundingRectangle viewBox, double scaleFactor ) : void
drawPolylineWithIntersectCalculation ( Newtonsoft.Json.Linq.JObject g, Feature feature, BoundingRectangle viewBox, double scaleFactor ) : void
drawVisiblePolylinePart ( Newtonsoft.Json.Linq.JObject g, List path, BoundingRectangle viewBox, double scaleFactor ) : void
drawVisiblePolylinePartWithStyleDetection ( Newtonsoft.Json.Linq.JObject g, List path, BoundingRectangle viewBox, double scaleFactor ) : void
getCrossPoints ( ICoordinate vertex1, ICoordinate vertex2, BoundingRectangle viewBox ) : List
getPathLength ( List path ) : double

Method Details

DrawPoint() public static method

Рисование точки.
public static DrawPoint ( Feature feature, Newtonsoft.Json.Linq.JObject g, BoundingRectangle viewBox, double scaleFactor ) : void
feature Feature
g Newtonsoft.Json.Linq.JObject
viewBox BoundingRectangle
scaleFactor double
return void

DrawPolygon() public static method

Рисование полигона.
public static DrawPolygon ( Feature feature, Newtonsoft.Json.Linq.JObject g, BoundingRectangle viewBox, double scaleFactor ) : void
feature Feature
g Newtonsoft.Json.Linq.JObject
viewBox BoundingRectangle
scaleFactor double
return void

DrawPolyline() public static method

Рисование линии.
public static DrawPolyline ( Feature feature, Newtonsoft.Json.Linq.JObject g, BoundingRectangle viewBox, double scaleFactor ) : void
feature Feature
g Newtonsoft.Json.Linq.JObject
viewBox BoundingRectangle
scaleFactor double
return void