VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Infovis
vtkGeoMath.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkGeoMath.h
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10
This software is distributed WITHOUT ANY WARRANTY; without even
11
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
PURPOSE. See the above copyright notice for more information.
13
14
=========================================================================*/
15
/*-------------------------------------------------------------------------
16
Copyright 2008 Sandia Corporation.
17
Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18
the U.S. Government retains certain rights in this software.
19
-------------------------------------------------------------------------*/
27
#ifndef __vtkGeoMath_h
28
#define __vtkGeoMath_h
29
30
#include "
vtkObject.h
"
31
32
class
VTK_INFOVIS_EXPORT
vtkGeoMath
:
public
vtkObject
33
{
34
public
:
35
static
vtkGeoMath
*
New
();
36
vtkTypeMacro(
vtkGeoMath
,
vtkObject
);
37
void
PrintSelf
(ostream& os,
vtkIndent
indent);
38
40
static
double
EarthRadiusMeters
() {
return
6356750.0;}
41
43
static
double
DistanceSquared(
double
pt0[3],
double
pt1[3]);
44
49
static
void
LongLatAltToRect(
double
lla[3],
double
rect[3]);
50
51
protected
:
52
vtkGeoMath
();
53
~
vtkGeoMath
();
54
55
private
:
56
vtkGeoMath
(
const
vtkGeoMath
&);
// Not implemented.
57
void
operator=(
const
vtkGeoMath
&);
// Not implemented.
58
};
59
60
#endif
Generated on Fri Aug 2 2013 12:19:59 for VTK by
1.8.4