isce3
0.25.0
Loading...
Searching...
No Matches
cxx
isce3
core
Peg.h
1
//
2
// Author: Joshua Cohen
3
// Copyright 2017
4
//
5
6
#pragma once
7
8
#include "forward.h"
9
13
class
isce3::core::Peg
{
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
42
isce3::core::Peg
&
isce3::core::Peg::
43
operator=
(
const
Peg
&rhs) {
44
lat = rhs.lat;
45
lon = rhs.lon;
46
hdg = rhs.hdg;
47
return
*
this
;
48
}
isce3::core::Peg
Data structure to store a peg point.
Definition
Peg.h:13
isce3::core::Peg::operator=
Peg & operator=(const Peg &)
Assignment operator.
Definition
Peg.h:43
isce3::core::Peg::Peg
Peg()
Empty constructor.
Definition
Peg.h:33
isce3::core::Peg::Peg
Peg(double lt, double ln, double hd)
Simple peg point constructor.
Definition
Peg.h:30
isce3::core::Peg::Peg
Peg(const Peg &p)
Copy constructor.
Definition
Peg.h:36
Generated for ISCE3.0 by
1.13.2.