source: geovis/trunk/ScaleBar.h @ 4632

Last change on this file since 4632 was 4349, checked in by ldelgass, 10 years ago

Improvements to coordinate display, scale bar

File size: 524 bytes
Line 
1/* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
2/*
3 * Copyright (C) 2014  HUBzero Foundation, LLC
4 *
5 * Author: Leif Delgass <ldelgass@purdue.edu>
6 */
7
8#ifndef GEOVIS_SCALEBAR_H
9#define GEOVIS_SCALEBAR_H
10
11namespace GeoVis {
12
13enum ScaleBarUnits {
14    UNITS_METERS,
15    UNITS_INTL_FEET,
16    UNITS_US_SURVEY_FEET,
17    UNITS_NAUTICAL_MILES
18};
19
20extern double normalizeScaleMeters(double meters);
21
22extern double normalizeScaleFeet(double feet);
23
24extern double normalizeScaleNauticalMiles(double nmi);
25
26}
27
28#endif
Note: See TracBrowser for help on using the repository browser.