SFF++ library: reading and writing SFF from C++
offset.cc File Reference

offset calculation (implementation) More...

#include <cmath>
#include <sffxx.h>
Include dependency graph for offset.cc:

Go to the source code of this file.

Namespaces

 sff
 all SFF modules
 

Macros

#define TF_OFFSET_CC_VERSION   "TF_OFFSET_CC V1.2"
 

Functions

double sff::offset (const SRCE &srce, const INFO &info, const double &radius)
 return offset in meters More...
 
double sff::sourcedistance (const SRCE &srce, const INFO &info)
 return spatial distance between source and receiver in meters More...
 
double sff::offsetdeg (const SRCE &srce, const INFO &info, const double &radius)
 return offset in degrees More...
 

Detailed Description

offset calculation (implementation)


Author
Thomas Forbriger
Date
02/03/2007

offset calculation (implementation)

Copyright (c) 2007 by Thomas Forbriger (BFO Schiltach)


libsffxx is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software

Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

REVISIONS and CHANGES

  • 02/03/2007 V1.0 Thomas Forbriger
  • 13/04/2010 V1.1 use my own error handling code (not libtfxx)
  • 29/07/2013 V1.2 added function sourcedistance

Definition in file offset.cc.