Unit LineUnits

Uses
Classes, Interfaces, Objects and Records
Types
Variables

Description

 

Overview

Functions and Procedures

function GetUnitsCode(const S: String): Integer;
function LineUnitsStr(Units: Integer): String;
function To_Meters(Units: Integer): Double;
function To_per_Meter(Units: Integer): Double;
function From_per_Meter(Units: Integer): Double;
function From_Meters(Units: Integer): Double;
function ConvertLineUnits(FromUnits, ToUnits: Integer): Double;

Constants

UNITS_MAXNUM = 9;
UNITS_NONE = 0;
UNITS_MILES = 1;
UNITS_KFT = 2;
UNITS_KM = 3;
UNITS_M = 4;
UNITS_FT = 5;
UNITS_IN = 6;
UNITS_CM = 7;
UNITS_MM = 8;

Description

Functions and Procedures

function GetUnitsCode(const S: String): Integer;
 
function LineUnitsStr(Units: Integer): String;
 
function To_Meters(Units: Integer): Double;

Conversion to and from meters and per meter

function To_per_Meter(Units: Integer): Double;
 
function From_per_Meter(Units: Integer): Double;
 
function From_Meters(Units: Integer): Double;
 
function ConvertLineUnits(FromUnits, ToUnits: Integer): Double;
 

Constants

UNITS_MAXNUM = 9;

———————————————————- Copyright (c) 2008-2015, Electric Power Research Institute, Inc. All rights reserved. ———————————————————-

UNITS_NONE = 0;
 
UNITS_MILES = 1;
 
UNITS_KFT = 2;
 
UNITS_KM = 3;
 
UNITS_M = 4;
 
UNITS_FT = 5;
 
UNITS_IN = 6;
 
UNITS_CM = 7;
 
UNITS_MM = 8;
 

Generated by PasDoc 0.16.0.