Points&Forces (survey)
Software tools facilitating the task of surveying architecture
Enumerations | Functions | Variables
average.cxx File Reference
#include <iostream>
#include <string>
#include <fstream>
#include <sstream>
#include <vector>
#include "a_point.h"
#include "a_segment.h"
#include "a_triangle.h"
#include "a_mat_sq.h"
#include "a_mat_r.h"
#include "a_mat_c.h"
#include "SimpleOpt.h"
#include "average.help"
+ Include dependency graph for average.cxx:

Go to the source code of this file.

Enumerations

enum  {
  OPT_HELP , OPT_P , OPT_L , OPT_T ,
  OPT_BOX , OPT_VERBOSE , OPT_COV , OPT_SCALAR ,
  OPT_MASS
}
 

Functions

int error (int val)
 
a_mat_sq x2 (3)
 
void extremes (const a_point &p)
 
int main (int argc, char *argv[])
 

Variables

CSimpleOpt::SOption g_rgOptions []
 
double xmin [] = {1.e30,1.e30,1.e30}
 
double xmax [] = {-1.e30,-1.e30,-1.e30}
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
OPT_HELP 
OPT_P 
OPT_L 
OPT_T 
OPT_BOX 
OPT_VERBOSE 
OPT_COV 
OPT_SCALAR 
OPT_MASS 

Definition at line 30 of file average.cxx.

Function Documentation

◆ error()

int error ( int  val)

Definition at line 55 of file average.cxx.

+ Here is the caller graph for this function:

◆ extremes()

void extremes ( const a_point &  p)

Definition at line 65 of file average.cxx.

+ Here is the caller graph for this function:

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 75 of file average.cxx.

+ Here is the call graph for this function:

◆ x2()

a_mat_sq x2 ( )
+ Here is the caller graph for this function:

Variable Documentation

◆ g_rgOptions

CSimpleOpt::SOption g_rgOptions[]
Initial value:
= {
{ OPT_P, _T("-p"), SO_NONE },
{ OPT_P, _T("--point"), SO_NONE },
{ OPT_L, _T("-l"), SO_NONE },
{ OPT_L, _T("--line"), SO_NONE },
{ OPT_T, _T("-t"), SO_NONE },
{ OPT_T, _T("--triangle"), SO_NONE },
{ OPT_BOX, _T("-b"), SO_NONE },
{ OPT_BOX, _T("--box"), SO_NONE },
{ OPT_MASS, _T("-m"), SO_NONE },
{ OPT_MASS, _T("--mass"), SO_NONE },
{ OPT_VERBOSE, _T("-v"), SO_NONE },
{ OPT_VERBOSE, _T("--verbose"), SO_NONE },
{ OPT_COV, _T("-c"), SO_NONE },
{ OPT_COV, _T("--covariance"), SO_NONE },
{ OPT_SCALAR, _T("-sf"), SO_REQ_SEP },
{ OPT_SCALAR, _T("--scalar-file"), SO_REQ_SEP },
{ OPT_HELP, _T("-?"), SO_NONE },
{ OPT_HELP, _T("-h"), SO_NONE },
{ OPT_HELP, _T("--help"), SO_NONE },
SO_END_OF_OPTIONS
}
@ OPT_L
Definition: average.cxx:30
@ OPT_COV
Definition: average.cxx:30
@ OPT_VERBOSE
Definition: average.cxx:30
@ OPT_MASS
Definition: average.cxx:30
@ OPT_HELP
Definition: average.cxx:30
@ OPT_P
Definition: average.cxx:30
@ OPT_T
Definition: average.cxx:30
@ OPT_SCALAR
Definition: average.cxx:30
@ OPT_BOX
Definition: average.cxx:30

Definition at line 32 of file average.cxx.

◆ xmax

double xmax[] = {-1.e30,-1.e30,-1.e30}

Definition at line 62 of file average.cxx.

◆ xmin

double xmin[] = {1.e30,1.e30,1.e30}

Definition at line 61 of file average.cxx.