C# Class MapAround.IO.Handlers.PointHandler

Обработчик точки.
Inheritance: ShapeHandler
ファイルを表示 Open project: gkrsu/maparound.core

Public Methods

Method 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 method

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

Read() public method

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

Write() public method

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.
return void