IShapeReader

Description

interface Tinman.Terrain.Shapes.IShapeReader

Derived from

IDisposableGeneric<IShapeReader>
IValidatable

Extended by

ShapeReader abstract

Base interface for classes that read vector shapes.

Public / Methods

ReadShape


public method ReadShape → ()

returns → IShape

The shape or null if the reader has already finished.

Reads the next shape.

IOException

If an I/O error has occurred.

Public / Attributes

HasFinished


public attribute HasFinished → (get)

value : bool

true if all shapes have been read, false if not.

Has the shape reader finished (i.e. all shapes have been read)?

IOException

If an I/O error has occurred.

Extensions

ReadAll


[OwnerThis]
public static method ReadAll → ()

returns → IShape

The aggregated shape.

Reads all remaining shapes via IShapeReader.ReadShape and returns an aggregated shape.

IOException

If an I/O error has occurred.