isce3  0.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
Peg.h
1 //
2 // Author: Joshua Cohen
3 // Copyright 2017
4 //
5 
6 #pragma once
7 
8 #include "forward.h"
9 
14 public:
15 
16  //peg latitude in radians
17  double lat;
18 
19  //peg longiture in radians
20  double lon;
21 
22  //peg heading in radians
23  double hdg;
24 
30  Peg(double lt, double ln, double hd) : lat(lt), lon(ln), hdg(hd) {}
31 
33  Peg() : Peg(0.,0.,0.) {}
34 
36  Peg(const Peg &p) : lat(p.lat), lon(p.lon), hdg(p.hdg) {}
37 
39  inline Peg& operator=(const Peg&);
40 };
41 
43 operator=(const Peg &rhs) {
44  lat = rhs.lat;
45  lon = rhs.lon;
46  hdg = rhs.hdg;
47  return *this;
48 }
Data structure to store a peg point.
Definition: Peg.h:13
Peg(double lt, double ln, double hd)
Simple peg point constructor.
Definition: Peg.h:30
Peg(const Peg &p)
Copy constructor.
Definition: Peg.h:36
Peg()
Empty constructor.
Definition: Peg.h:33
Peg & operator=(const Peg &)
Assignment operator.
Definition: Peg.h:43

Generated for ISCE3.0 by doxygen 1.8.5.