C# Class MapAround.IO.Handlers.PointHandler

Обработчик точки.
Inheritance: ShapeHandler
Afficher le fichier Open project: gkrsu/maparound.core

Méthodes publiques

Méthode Description
GetLength ( IGeometry geometry ) : int

Получить длину в байтах геометрического объекта (для записи в файл)

Read ( Stream file, BoundingRectangle bounds, ShapeFileRecord record ) : bool

Читает запись представляющую точку.

Write ( IGeometry geometry, BinaryWriter file ) : void

Writes to the given stream the equilivent shape file record given a Geometry object.

Method Details

GetLength() public méthode

Получить длину в байтах геометрического объекта (для записи в файл)
public GetLength ( IGeometry geometry ) : int
geometry IGeometry Геометрический объект
Résultat int

Read() public méthode

Читает запись представляющую точку.
public Read ( Stream file, BoundingRectangle bounds, ShapeFileRecord record ) : bool
file Stream Входной поток
bounds BoundingRectangle Ограничивающий прямоугольник, с которым должен пересекаться ограничивающий прямоугольник записи
record MapAround.IO.ShapeFileRecord Запись Shape-файла в которую будет помещена прочитанная информация
Résultat bool

Write() public méthode

Writes to the given stream the equilivent shape file record given a Geometry object.
public Write ( IGeometry geometry, BinaryWriter file ) : void
geometry IGeometry The geometry object to write.
file System.IO.BinaryWriter The stream to write to.
Résultat void