14#ifndef SCControl_beam_contour_h
15#define SCControl_beam_contour_h
20#include <MatrixLib/MatrixLib.h>
58 beam_contour(
double lat0,
double lon0,
double alt0,
double beamWidth);
59 beam_contour(
double lat0,
double lon0,
double alt0,
double beamWidth,
double azim,
double elev);
62 void update(
double lat0,
double lon0,
double alt0,
double beamWidth,
double azim,
double elev);
68 void rotateAxis(
const ml_matrix& u,
double roll,
double pitch );
71 void rotateAxis(
double lat0,
double lon0,
double alt0,
double beamWidth,
const ml_matrix& u,
double roll,
double pitch );
74 void point(
double azim,
double elev);
77 void move(
double lat0,
double lon0,
double alt0);
89 ml_matrix
get_r(){
return rEFc; };
101 bool exist(){
return (intersection | partialHorizon | fullHorizon); };
104 bool horizon(){
return (partialHorizon | fullHorizon); };
Model beam contours.
Definition: sc_beam_contour.h:29
beam_contour()
Constructor.
Definition: sc_beam_contour.cc:21
void point(double azim, double elev)
point - recompute the contour with a new beam direction
Definition: sc_beam_contour.cc:121
bool horizon()
Return flag to say whether the contour has a horizon segment or not.
Definition: sc_beam_contour.h:104
ml_matrix * get_lon_ptr()
Get pointer to the longitude points of the beam contour.
Definition: sc_beam_contour.h:95
void update()
Update - recompute the contour with current data.
Definition: sc_beam_contour.cc:224
ml_matrix get_lat()
Get the latitude points of the beam contour.
Definition: sc_beam_contour.h:83
ml_matrix * get_r_ptr()
Get the Earth-fixed position points of the beam contour.
Definition: sc_beam_contour.h:98
bool exist()
Return flag to say whether the contour exists or not.
Definition: sc_beam_contour.h:101
ml_matrix get_lon()
Get the longitude points of the beam contour.
Definition: sc_beam_contour.h:86
ml_matrix * get_lat_ptr()
Get pointer to the latitude points of the beam contour.
Definition: sc_beam_contour.h:92
void move(double lat0, double lon0, double alt0)
Rotate - recompute the contour with a new beam direction.
Definition: sc_beam_contour.cc:212
void verify_inputs()
Verify inputs.
Definition: sc_beam_contour.cc:187
ml_matrix get_r()
Get the Earth-fixed position points of the beam contour.
Definition: sc_beam_contour.h:89
void rotateAxis(const ml_matrix &u, double roll, double pitch)
Rotate a body axis through roll, pitch. Zero angles result in +z body pointing down.
Definition: sc_beam_contour.cc:138