C# Class MapAround.Rendering.StrokeGenerator

Генератор штрихов.
Inheritance: ILineTransformer
Exibir arquivo Open project: gkrsu/maparound.core

Public Methods

Method Description
GetLines ( Contour contour ) : GeometryCollection

Преобразует контур в коллекцию линейных объектов.

GetLines ( LinePath path ) : GeometryCollection

Преобразует ломаную линию в коллекцию линейных объектов.

Private Methods

Method Description
getStrokePoints ( IList points, double startLength, double strokeLength, int &segmentIndex, double &traversedLength ) : List

Method Details

GetLines() public method

Преобразует контур в коллекцию линейных объектов.
public GetLines ( Contour contour ) : GeometryCollection
contour Contour Контур
return GeometryCollection

GetLines() public method

Преобразует ломаную линию в коллекцию линейных объектов.
public GetLines ( LinePath path ) : GeometryCollection
path LinePath Ломаная линия
return GeometryCollection