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

a position matrix More...

#include <a_pos2.h>

+ Inheritance diagram for a_pos2:
+ Collaboration diagram for a_pos2:

Public Member Functions

 a_pos2 ()
 
 a_pos2 (const a_mat &m)
 
void origin (double x, double y, double z)
 
void angle (double x, double y, double z)
 
void ox (double v)
 
double ox () const
 
void oy (double v)
 
double oy () const
 
void oz (double v)
 
double oz () const
 
void ax (double v)
 
double ax () const
 
void ay (double v)
 
double ay () const
 
void az (double v)
 
double az () const
 
- 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
 

Protected Member Functions

void compute_or ()
 
void compute_rot ()
 
void compute_or_inv ()
 
void compute_rot_inv ()
 

Protected Attributes

double ox_
 
double oy_
 
double oz_
 
double ax_
 
double ay_
 
double az_
 
- Protected Attributes inherited from a_mat
UI maxi_
 
UI maxj_
 
std::valarray< double > * x_
 
- Protected Attributes inherited from a_base
double verysmall_
 

Friends

std::istream & operator>> (std::istream &i, a_pos2 &l)
 

Additional Inherited Members

- 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 ()
 

Detailed Description

a position matrix

Definition at line 28 of file a_pos2.h.

Constructor & Destructor Documentation

◆ a_pos2() [1/2]

a_pos2::a_pos2 ( )
inline

Definition at line 31 of file a_pos2.h.

◆ a_pos2() [2/2]

a_pos2::a_pos2 ( const a_mat m)

Definition at line 18 of file a_pos2.cxx.

Member Function Documentation

◆ angle()

void a_pos2::angle ( double  x,
double  y,
double  z 
)
inline

Definition at line 38 of file a_pos2.h.

+ Here is the call graph for this function:

◆ ax() [1/2]

double a_pos2::ax ( ) const
inline

Definition at line 50 of file a_pos2.h.

◆ ax() [2/2]

void a_pos2::ax ( double  v)
inline

Definition at line 49 of file a_pos2.h.

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

◆ ay() [1/2]

double a_pos2::ay ( ) const
inline

Definition at line 52 of file a_pos2.h.

◆ ay() [2/2]

void a_pos2::ay ( double  v)
inline

Definition at line 51 of file a_pos2.h.

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

◆ az() [1/2]

double a_pos2::az ( ) const
inline

Definition at line 54 of file a_pos2.h.

◆ az() [2/2]

void a_pos2::az ( double  v)
inline

Definition at line 53 of file a_pos2.h.

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

◆ compute_or()

void a_pos2::compute_or ( )
protected

Definition at line 75 of file a_pos2.cxx.

+ Here is the caller graph for this function:

◆ compute_or_inv()

void a_pos2::compute_or_inv ( )
protected

Definition at line 83 of file a_pos2.cxx.

◆ compute_rot()

void a_pos2::compute_rot ( )
protected

Definition at line 27 of file a_pos2.cxx.

+ Here is the caller graph for this function:

◆ compute_rot_inv()

void a_pos2::compute_rot_inv ( )
protected

Definition at line 49 of file a_pos2.cxx.

+ Here is the call graph for this function:

◆ origin()

void a_pos2::origin ( double  x,
double  y,
double  z 
)
inline

Definition at line 33 of file a_pos2.h.

+ Here is the call graph for this function:

◆ ox() [1/2]

double a_pos2::ox ( ) const
inline

Definition at line 44 of file a_pos2.h.

◆ ox() [2/2]

void a_pos2::ox ( double  v)
inline

Definition at line 43 of file a_pos2.h.

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

◆ oy() [1/2]

double a_pos2::oy ( ) const
inline

Definition at line 46 of file a_pos2.h.

◆ oy() [2/2]

void a_pos2::oy ( double  v)
inline

Definition at line 45 of file a_pos2.h.

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

◆ oz() [1/2]

double a_pos2::oz ( ) const
inline

Definition at line 48 of file a_pos2.h.

◆ oz() [2/2]

void a_pos2::oz ( double  v)
inline

Definition at line 47 of file a_pos2.h.

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

Friends And Related Function Documentation

◆ operator>>

std::istream& operator>> ( std::istream &  i,
a_pos2 l 
)
friend

Definition at line 90 of file a_pos2.cxx.

Member Data Documentation

◆ ax_

double a_pos2::ax_
protected

Definition at line 66 of file a_pos2.h.

◆ ay_

double a_pos2::ay_
protected

Definition at line 66 of file a_pos2.h.

◆ az_

double a_pos2::az_
protected

Definition at line 66 of file a_pos2.h.

◆ ox_

double a_pos2::ox_
protected

Definition at line 65 of file a_pos2.h.

◆ oy_

double a_pos2::oy_
protected

Definition at line 65 of file a_pos2.h.

◆ oz_

double a_pos2::oz_
protected

Definition at line 65 of file a_pos2.h.


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