Points&Forces (core)
Software tools facilitating the task of surveying architecture
Public Member Functions | Static Public Member Functions | Friends | List of all members
a_3dh Class Reference

an homogeneous 3d matrix class More...

#include <a_3dh.h>

+ Inheritance diagram for a_3dh:
+ Collaboration diagram for a_3dh:

Public Member Functions

 a_3dh ()
 
 a_3dh (double x, double y, double z, double t=1.)
 
 a_3dh (double *x)
 
 a_3dh (const a_point &p)
 
 a_3dh (const a_mat &m)
 
void set (double x, double y, double z, double t=1.)
 
void set (double *x)
 
void set (const a_point &p)
 
a_point point () const
 
void X (double v)
 
void Y (double v)
 
void Z (double v)
 
void T (double v)
 
double X () const
 
double Y () const
 
double Z () const
 
double T () const
 
double x () const
 
double y () const
 
double z () const
 
- Public Member Functions inherited from a_mat_c
 a_mat_c (UI i, double v=0)
 
 a_mat_c (int i, double v=0)
 
a_mat_coperator= (const a_mat &m)
 
double & operator() (const UI i)
 
double operator() (const UI i) const
 
double sumsq () const
 
double norm () const
 
void normalise ()
 
- Public Member Functions inherited from a_mat
 a_mat (UI i, UI j, double v=0)
 
 a_mat (int i, int j, double v=0)
 
 a_mat (const a_mat &m)
 
 ~a_mat ()
 
UI maxi () const
 
UI maxj () const
 
UI size () const
 
std::valarray< double > & x () const
 
virtual double & operator() (const UI i, const UI j)
 
virtual double operator() (const UI i, const UI j) const
 
a_matoperator= (const a_mat &m)
 
bool operator== (const a_mat &a)
 
a_matoperator- ()
 
a_matoperator+= (const a_mat &a)
 
a_mat operator+ (const a_mat &a)
 
a_matoperator-= (const a_mat &a)
 
a_mat operator- (const a_mat &a)
 
a_matoperator*= (double v)
 
a_mat operator* (double v)
 
a_matoperator/= (double v)
 
a_mat operator/ (double v)
 
a_mat transpose ()
 
void swapc (UI c1, UI c2)
 
void swapr (UI r1, UI r2)
 
a_mat sub_matrix (const UI i, const UI j) const
 
virtual void read (std::istream &i)
 
virtual void write (std::ostream &o) const
 
- Public Member Functions inherited from a_mat_base
virtual const std::string classname ()
 
- Public Member Functions inherited from a_base
 a_base ()
 
void read (const std::string &file_in)
 
void write (const std::string &file_out) const
 
void small (double tol)
 
double small () const
 

Static Public Member Functions

static const std::string help ()
 
- Static Public Member Functions inherited from a_mat_base
static const std::string help ()
 
- Static Public Member Functions inherited from a_base
static const std::string help ()
 

Friends

std::istream & operator>> (std::istream &i, a_3dh &m)
 
std::ostream & operator<< (std::ostream &o, const a_3dh &m)
 

Additional Inherited Members

- Protected Attributes inherited from a_mat
UI maxi_
 
UI maxj_
 
std::valarray< double > * x_
 
- Protected Attributes inherited from a_base
double verysmall_
 

Detailed Description

an homogeneous 3d matrix class

Definition at line 29 of file a_3dh.h.

Constructor & Destructor Documentation

◆ a_3dh() [1/5]

a_3dh::a_3dh ( )
inline

Definition at line 32 of file a_3dh.h.

◆ a_3dh() [2/5]

a_3dh::a_3dh ( double  x,
double  y,
double  z,
double  t = 1. 
)
inline

Definition at line 33 of file a_3dh.h.

+ Here is the call graph for this function:

◆ a_3dh() [3/5]

a_3dh::a_3dh ( double *  x)
inline

Definition at line 34 of file a_3dh.h.

+ Here is the call graph for this function:

◆ a_3dh() [4/5]

a_3dh::a_3dh ( const a_point p)
inline

Definition at line 35 of file a_3dh.h.

+ Here is the call graph for this function:

◆ a_3dh() [5/5]

a_3dh::a_3dh ( const a_mat m)

Definition at line 41 of file a_3dh.cxx.

+ Here is the call graph for this function:

Member Function Documentation

◆ help()

const std::string a_3dh::help ( )
static

Definition at line 19 of file a_3dh.cxx.

+ Here is the caller graph for this function:

◆ point()

a_point a_3dh::point ( ) const
inline

Definition at line 41 of file a_3dh.h.

◆ set() [1/3]

void a_3dh::set ( const a_point p)
inline

Definition at line 40 of file a_3dh.h.

+ Here is the call graph for this function:

◆ set() [2/3]

void a_3dh::set ( double *  x)
inline

Definition at line 39 of file a_3dh.h.

+ Here is the call graph for this function:

◆ set() [3/3]

void a_3dh::set ( double  x,
double  y,
double  z,
double  t = 1. 
)
inline

Definition at line 38 of file a_3dh.h.

+ Here is the call graph for this function:

◆ T() [1/2]

double a_3dh::T ( ) const
inline

Definition at line 49 of file a_3dh.h.

+ Here is the caller graph for this function:

◆ T() [2/2]

void a_3dh::T ( double  v)
inline

Definition at line 45 of file a_3dh.h.

◆ X() [1/2]

double a_3dh::X ( ) const
inline

Definition at line 46 of file a_3dh.h.

+ Here is the caller graph for this function:

◆ x()

double a_3dh::x ( ) const
inline

Definition at line 50 of file a_3dh.h.

+ Here is the caller graph for this function:

◆ X() [2/2]

void a_3dh::X ( double  v)
inline

Definition at line 42 of file a_3dh.h.

+ Here is the caller graph for this function:

◆ Y() [1/2]

double a_3dh::Y ( ) const
inline

Definition at line 47 of file a_3dh.h.

+ Here is the caller graph for this function:

◆ y()

double a_3dh::y ( ) const
inline

Definition at line 51 of file a_3dh.h.

+ Here is the caller graph for this function:

◆ Y() [2/2]

void a_3dh::Y ( double  v)
inline

Definition at line 43 of file a_3dh.h.

+ Here is the caller graph for this function:

◆ Z() [1/2]

double a_3dh::Z ( ) const
inline

Definition at line 48 of file a_3dh.h.

+ Here is the caller graph for this function:

◆ z()

double a_3dh::z ( ) const
inline

Definition at line 52 of file a_3dh.h.

+ Here is the caller graph for this function:

◆ Z() [2/2]

void a_3dh::Z ( double  v)
inline

Definition at line 44 of file a_3dh.h.

+ Here is the caller graph for this function:

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  o,
const a_3dh m 
)
friend

Definition at line 61 of file a_3dh.cxx.

◆ operator>>

std::istream& operator>> ( std::istream &  i,
a_3dh m 
)
friend

Definition at line 50 of file a_3dh.cxx.


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