muMECH  1.0
Public Member Functions | List of all members
gelibspace::VectoR Struct Reference

#include <arrays.h>

Inheritance diagram for gelibspace::VectoR:
gelibspace::Elem3D

Public Member Functions

VectoRcopy (const VectoR *p)
 
VectoRbeP2P (const PoinT *p1, const PoinT *p2)
 Receiver is set to vector from p1 to p2, i.e. 'this = p2 - p1'. More...
 
VectoRbeVectProduct (const VectoR *v1, const VectoR *v2)
 vector product v1 x v2 (cross product) More...
 
VectoRbeVectProduct (const PoinT *p1, const PoinT *p2, const PoinT *p3)
 vector product p1p2 x p1p3 More...
 
VectoRbeVectProduct (const PoinT *p1, const PoinT *p2, const PoinT *p3, const PoinT *p4)
 vector product p1p2 x p3p4 More...
 
VectoRnormalize (void)
 
double give_length (void) const
 
double give_length_2d (void) const
 
double give_angle_2d (void) const
 
VectoRbe_rot_by_angle_2d (const VectoR *p, double a)
 
VectoRbe_rotSS_by_angle_2d (const VectoR *p, double a)
 
bool is_parallel_with (const VectoR *that, double relZero) const
 
- Public Member Functions inherited from gelibspace::Elem3D
 Elem3D ()
 
virtual ~Elem3D ()
 
double operator[] (int i) const
 
double & operator[] (int i)
 
bool is_identical_to (const Elem3D *p, double zero) const
 
bool is_identical_to (const Elem3D *p) const
 
Elem3Dtms (double val)
 
Elem3Ddvd (double val)
 
Elem3Dadd (const Elem3D *p)
 
Elem3Dsub (const Elem3D *p)
 
Elem3Dadd (const double *p)
 
Elem3Dcopy (const Elem3D *p)
 
Elem3Dzero (void)
 
Elem3Dround2abszero (double zr)
 
bool scan_x (FILE *stream)
 
bool scan_y (FILE *stream)
 
bool scan_z (FILE *stream)
 
bool scan_xyz (FILE *stream)
 
bool scan_xyz (const char *&src)
 
bool scan_xyz (const double *src)
 
void copy_to (double *dest) const
 
double giveScalProduct (const Elem3D *v) const
 scalar product this * e More...
 
double give_sum (void) const
 sum of components More...
 

Additional Inherited Members

- Public Attributes inherited from gelibspace::Elem3D
double x
 
double y
 
double z
 

Detailed Description

Definition at line 152 of file arrays.h.

Member Function Documentation

VectoR* gelibspace::VectoR::be_rot_by_angle_2d ( const VectoR p,
double  a 
)
inline

Definition at line 196 of file arrays.h.

References gelibspace::Elem3D::x, gelibspace::Elem3D::y, and gelibspace::Elem3D::z.

VectoR* gelibspace::VectoR::be_rotSS_by_angle_2d ( const VectoR p,
double  a 
)
inline

Definition at line 206 of file arrays.h.

References gelibspace::Elem3D::x, gelibspace::Elem3D::y, and gelibspace::Elem3D::z.

VectoR* gelibspace::VectoR::beP2P ( const PoinT p1,
const PoinT p2 
)
inline

Receiver is set to vector from p1 to p2, i.e. 'this = p2 - p1'.

Definition at line 158 of file arrays.h.

References gelibspace::Elem3D::x, gelibspace::Elem3D::y, and gelibspace::Elem3D::z.

Referenced by beVectProduct().

VectoR* gelibspace::VectoR::beVectProduct ( const VectoR v1,
const VectoR v2 
)
inline

vector product v1 x v2 (cross product)

Definition at line 165 of file arrays.h.

References gelibspace::Elem3D::x, gelibspace::Elem3D::y, and gelibspace::Elem3D::z.

Referenced by gelibspace::PoinT::dist_to_line(), and mumech::mElement::give_volume().

VectoR* gelibspace::VectoR::beVectProduct ( const PoinT p1,
const PoinT p2,
const PoinT p3 
)
inline

vector product p1p2 x p1p3

Definition at line 172 of file arrays.h.

References gelibspace::Elem3D::x, gelibspace::Elem3D::y, and gelibspace::Elem3D::z.

VectoR* gelibspace::VectoR::beVectProduct ( const PoinT p1,
const PoinT p2,
const PoinT p3,
const PoinT p4 
)
inline

vector product p1p2 x p3p4

Definition at line 180 of file arrays.h.

References beP2P().

VectoR* gelibspace::VectoR::copy ( const VectoR p)
inline

Definition at line 155 of file arrays.h.

References gelibspace::Elem3D::copy().

double gelibspace::VectoR::give_angle_2d ( void  ) const
inline

Definition at line 195 of file arrays.h.

References gelibspace::Elem3D::x, and gelibspace::Elem3D::y.

double gelibspace::VectoR::give_length ( void  ) const
inline
double gelibspace::VectoR::give_length_2d ( void  ) const
inline

Definition at line 194 of file arrays.h.

References gelibspace::Elem3D::x, and gelibspace::Elem3D::y.

bool gelibspace::VectoR::is_parallel_with ( const VectoR that,
double  relZero 
) const
inline
VectoR* gelibspace::VectoR::normalize ( void  )
inline

Definition at line 190 of file arrays.h.

References gelibspace::Elem3D::dvd().


The documentation for this struct was generated from the following file: