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

Go to the source code of this file.

Enumerations

enum  {
  OPT_HELP , OPT_PRECISION , OPT_QUALITY , OPT_MINEDGE ,
  OPT_MAXEDGE , OPT_SURFACE
}
 

Functions

int error (int val)
 
std::string print (double s)
 
double d_equiv (double s)
 
int main (int argc, char *argv[])
 

Variables

CSimpleOpt::SOption g_rgOptions []
 
int pre = 6
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
OPT_HELP 
OPT_PRECISION 
OPT_QUALITY 
OPT_MINEDGE 
OPT_MAXEDGE 
OPT_SURFACE 

Definition at line 28 of file trisize.cxx.

Function Documentation

◆ d_equiv()

double d_equiv ( double  s)

Definition at line 66 of file trisize.cxx.

+ Here is the caller graph for this function:

◆ error()

int error ( int  val)

Definition at line 49 of file trisize.cxx.

+ Here is the caller graph for this function:

◆ main()

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

Definition at line 72 of file trisize.cxx.

+ Here is the call graph for this function:

◆ print()

std::string print ( double  s)

Definition at line 55 of file trisize.cxx.

+ Here is the caller graph for this function:

Variable Documentation

◆ g_rgOptions

CSimpleOpt::SOption g_rgOptions[]
Initial value:
= {
{ OPT_HELP, _T("-?"), SO_NONE },
{ OPT_HELP, _T("-h"), SO_NONE },
{ OPT_HELP, _T("--help"), SO_NONE },
{ OPT_SURFACE, _T("--surface"), SO_NONE },
{ OPT_SURFACE, _T("-s"), SO_NONE },
{ OPT_MINEDGE, _T("--min-edge"), SO_NONE },
{ OPT_MINEDGE, _T("-m"), SO_NONE },
{ OPT_MAXEDGE, _T("--max-edge"), SO_NONE },
{ OPT_MAXEDGE, _T("-M"), SO_NONE },
{ OPT_QUALITY, _T("--quality"), SO_NONE },
{ OPT_QUALITY, _T("-q"), SO_NONE },
{ OPT_PRECISION, _T("-p"), SO_REQ_SEP },
{ OPT_PRECISION, _T("--precision"), SO_REQ_SEP },
SO_END_OF_OPTIONS
}
@ OPT_SURFACE
Definition: trisize.cxx:28
@ OPT_MINEDGE
Definition: trisize.cxx:28
@ OPT_QUALITY
Definition: trisize.cxx:28
@ OPT_PRECISION
Definition: trisize.cxx:28
@ OPT_HELP
Definition: trisize.cxx:28
@ OPT_MAXEDGE
Definition: trisize.cxx:28

Definition at line 30 of file trisize.cxx.

◆ pre

int pre = 6

Definition at line 47 of file trisize.cxx.