Points&Forces (survey)
Software tools facilitating the task of surveying architecture
Public Member Functions | Protected Attributes | Friends | List of all members
e_point Class Reference

point + ... More...

#include <e_point.h>

+ Inheritance diagram for e_point:
+ Collaboration diagram for e_point:

Public Member Functions

 e_point ()
 
 e_point (double x, double y, double z)
 
 e_point (const double x[3])
 
 e_point (const e_point &p)
 
double x () const
 
double y () const
 
double z () const
 
void x (double v)
 
void y (double v)
 
void z (double v)
 
e_pointoperator+= (const e_point &)
 
e_pointoperator-= (const e_point &)
 
double operator*= (const e_point &)
 
e_pointoperator*= (const double v)
 
e_pointoperator/= (const double v)
 
e_pointoperator/= (const e_point &)
 
double sumsq () const
 
double norm () const
 
e_pointnormalise ()
 
void print (std::ostream &o)
 

Protected Attributes

double x_
 
double y_
 
double z_
 
double err_
 

Friends

std::istream & operator>> (std::istream &i, e_point &p)
 
std::ostream & operator<< (std::ostream &o, const e_point &p)
 
std::istream & operator>> (std::istream &i, e_point *p)
 
std::ostream & operator<< (std::ostream &o, const e_point *p)
 

Detailed Description

point + ...

Definition at line 28 of file e_point.h.

Constructor & Destructor Documentation

◆ e_point() [1/4]

e_point::e_point ( )
inline

Definition at line 31 of file e_point.h.

◆ e_point() [2/4]

e_point::e_point ( double  x,
double  y,
double  z 
)
inline

Definition at line 32 of file e_point.h.

◆ e_point() [3/4]

e_point::e_point ( const double  x[3])
inline

Definition at line 33 of file e_point.h.

◆ e_point() [4/4]

e_point::e_point ( const e_point p)
inline

Definition at line 34 of file e_point.h.

Member Function Documentation

◆ norm()

double e_point::norm ( ) const

Definition at line 62 of file e_point.cxx.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ normalise()

e_point & e_point::normalise ( )

Definition at line 67 of file e_point.cxx.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator*=() [1/2]

e_point & e_point::operator*= ( const double  v)

Definition at line 41 of file e_point.cxx.

+ Here is the call graph for this function:

◆ operator*=() [2/2]

double e_point::operator*= ( const e_point p)

Definition at line 36 of file e_point.cxx.

+ Here is the call graph for this function:

◆ operator+=()

e_point & e_point::operator+= ( const e_point p)

Definition at line 20 of file e_point.cxx.

+ Here is the call graph for this function:

◆ operator-=()

e_point & e_point::operator-= ( const e_point p)

Definition at line 28 of file e_point.cxx.

+ Here is the call graph for this function:

◆ operator/=() [1/2]

e_point & e_point::operator/= ( const double  v)

Definition at line 49 of file e_point.cxx.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator/=() [2/2]

e_point& e_point::operator/= ( const e_point )

◆ print()

void e_point::print ( std::ostream &  o)

Definition at line 147 of file e_point.cxx.

+ Here is the call graph for this function:

◆ sumsq()

double e_point::sumsq ( ) const

Definition at line 57 of file e_point.cxx.

+ Here is the caller graph for this function:

◆ x() [1/2]

double e_point::x ( ) const
inline

Definition at line 37 of file e_point.h.

+ Here is the caller graph for this function:

◆ x() [2/2]

void e_point::x ( double  v)
inline

Definition at line 42 of file e_point.h.

+ Here is the call graph for this function:

◆ y() [1/2]

double e_point::y ( ) const
inline

Definition at line 38 of file e_point.h.

+ Here is the caller graph for this function:

◆ y() [2/2]

void e_point::y ( double  v)
inline

Definition at line 43 of file e_point.h.

+ Here is the call graph for this function:

◆ z() [1/2]

double e_point::z ( ) const
inline

Definition at line 39 of file e_point.h.

+ Here is the caller graph for this function:

◆ z() [2/2]

void e_point::z ( double  v)
inline

Definition at line 44 of file e_point.h.

+ Here is the call graph for this function:

Friends And Related Function Documentation

◆ operator<< [1/2]

std::ostream& operator<< ( std::ostream &  o,
const e_point p 
)
friend

Definition at line 123 of file e_point.cxx.

◆ operator<< [2/2]

std::ostream& operator<< ( std::ostream &  o,
const e_point p 
)
friend

Definition at line 139 of file e_point.cxx.

◆ operator>> [1/2]

std::istream& operator>> ( std::istream &  i,
e_point p 
)
friend

Definition at line 115 of file e_point.cxx.

◆ operator>> [2/2]

std::istream& operator>> ( std::istream &  i,
e_point p 
)
friend

Definition at line 131 of file e_point.cxx.

Member Data Documentation

◆ err_

double e_point::err_
protected

Definition at line 68 of file e_point.h.

◆ x_

double e_point::x_
protected

Definition at line 65 of file e_point.h.

◆ y_

double e_point::y_
protected

Definition at line 66 of file e_point.h.

◆ z_

double e_point::z_
protected

Definition at line 67 of file e_point.h.


The documentation for this class was generated from the following files: