Class TDemReader

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TDemReader = class(TObject)

Description

Hierarchy

Overview

Fields

Private DemFile: File;
Private CharCount: Integer;
Private FCorners: TList;
Private RangeList: TRealList;
Private Angle: Double;
Private ResolutionX: Double;
Private ResolutionY: Double;
Private ResolutionZ: Double;
Private ColumnCount: Integer;
Private FCancel: Boolean;
Private FPoints: TList;
Private FCentralMeridianRadians: Double;
Private FCoordInSec: Boolean;
Private FOnProgress: TProgressProcedure;

Methods

Private function ReadCharacters(const Count: integer; Out EndOfLine: boolean): AnsiString;
Private procedure ReadRecordA(const GetCentralMeridian : boolean);
Private procedure ReadRecordB;
Private procedure ReadRestOfRecord;
Private procedure ReadRecordC;
Private function FortranStrToFloat(AString: string): double;
Private function UTMCentralMeridianRadians(LatitudeSeconds, LongitudeSeconds: double): double;
Private function GetPoint(Index: integer): TElevationPoint;
Private function GetPointCount: integer;
Private function GetCorner(Index: integer): TCornerPoint;
Public procedure ReadFile(const FileName: string; ReadCentralMeridian : boolean);
Public procedure ReadHeader(const FileName: string);
Public Constructor Create;
Public Destructor Destroy; override;
Public procedure Cancel;

Properties

Public property Corners[Index:integer]: TCornerPoint read GetCorner;
Public property CoordInSec: Boolean read FCoordInSec;
Public property CentralMeridianRadians: Double read FCentralMeridianRadians write FCentralMeridianRadians;
Public property PointCount: integer read GetPointCount;
Public property Points[Index:integer]: TElevationPoint read GetPoint;
Public property OnProgress: TProgressProcedure read FOnProgress write FOnProgress;

Description

Fields

Private DemFile: File;
 
Private CharCount: Integer;
 
Private FCorners: TList;
 
Private RangeList: TRealList;
 
Private Angle: Double;
 
Private ResolutionX: Double;
 
Private ResolutionY: Double;
 
Private ResolutionZ: Double;
 
Private ColumnCount: Integer;
 
Private FCancel: Boolean;
 
Private FPoints: TList;
 
Private FCentralMeridianRadians: Double;
 
Private FCoordInSec: Boolean;
 
Private FOnProgress: TProgressProcedure;
 

Methods

Private function ReadCharacters(const Count: integer; Out EndOfLine: boolean): AnsiString;
 
Private procedure ReadRecordA(const GetCentralMeridian : boolean);
 
Private procedure ReadRecordB;
 
Private procedure ReadRestOfRecord;
 
Private procedure ReadRecordC;
 
Private function FortranStrToFloat(AString: string): double;
 
Private function UTMCentralMeridianRadians(LatitudeSeconds, LongitudeSeconds: double): double;
 
Private function GetPoint(Index: integer): TElevationPoint;
 
Private function GetPointCount: integer;
 
Private function GetCorner(Index: integer): TCornerPoint;
 
Public procedure ReadFile(const FileName: string; ReadCentralMeridian : boolean);
 
Public procedure ReadHeader(const FileName: string);
 
Public Constructor Create;
 
Public Destructor Destroy; override;
 
Public procedure Cancel;
 

Properties

Public property Corners[Index:integer]: TCornerPoint read GetCorner;
 
Public property CoordInSec: Boolean read FCoordInSec;
 
Public property CentralMeridianRadians: Double read FCentralMeridianRadians write FCentralMeridianRadians;
 
Public property PointCount: integer read GetPointCount;
 
Public property Points[Index:integer]: TElevationPoint read GetPoint;
 
Public property OnProgress: TProgressProcedure read FOnProgress write FOnProgress;
 

Generated by PasDoc 0.12.1 on 2013-05-13 15:41:30