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

Go to the source code of this file.

Enumerations

enum  {
  OPT_HELP , OPT_ORI , OPT_REF , OPT_DIR ,
  OPT_PREC , OPT_MATRIX
}
 

Functions

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

Variables

CSimpleOpt::SOption g_rgOptions []
 
const double pi = 3.14159265358979
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
OPT_HELP 
OPT_ORI 
OPT_REF 
OPT_DIR 
OPT_PREC 
OPT_MATRIX 

Definition at line 28 of file orient.cxx.

Function Documentation

◆ error()

int error ( int  val)

Definition at line 51 of file orient.cxx.

+ Here is the caller graph for this function:

◆ main()

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

Definition at line 57 of file orient.cxx.

+ Here is the call graph for this function:

Variable Documentation

◆ g_rgOptions

CSimpleOpt::SOption g_rgOptions[]
Initial value:
= {
{ OPT_DIR,_T("-x"), SO_NONE },
{ OPT_DIR,_T("-y"), SO_NONE },
{ OPT_PREC,_T("-p"), SO_REQ_SEP },
{ OPT_PREC,_T("--precision"), SO_REQ_SEP },
{ OPT_ORI,_T("-ox"), SO_REQ_SEP },
{ OPT_ORI,_T("-oy"), SO_REQ_SEP },
{ OPT_ORI,_T("-oz"), SO_REQ_SEP },
{ OPT_REF,_T("-px"), SO_REQ_SEP },
{ OPT_REF,_T("-py"), SO_REQ_SEP },
{ OPT_REF,_T("-pz"), SO_REQ_SEP },
{ OPT_MATRIX,_T("-m"), SO_REQ_SEP },
{ OPT_MATRIX,_T("--matrix"), 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_DIR
Definition: orient.cxx:28
@ OPT_REF
Definition: orient.cxx:28
@ OPT_HELP
Definition: orient.cxx:28
@ OPT_ORI
Definition: orient.cxx:28
@ OPT_MATRIX
Definition: orient.cxx:28
@ OPT_PREC
Definition: orient.cxx:28

Definition at line 30 of file orient.cxx.

◆ pi

const double pi = 3.14159265358979

Definition at line 49 of file orient.cxx.