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

#include <arrays.h>

Inheritance diagram for gelibspace::PoinT:
gelibspace::Elem3D

Public Member Functions

PoinTcopy (const PoinT *p)
 
double dist_to (const PoinT *p) const
 
double dist2_to (const PoinT *p) const
 
double dist_to_line (const PoinT *p1, const PoinT *p2) const
 give distance from receiver to line defined by p1 and p2 More...
 
void bePointAtAbscissa (const PoinT *p1, const PoinT *p2, double ksi)
 receiver will be point at abscissa p1p2 with natural coord ksi More...
 
bool give_ksiAtAbscissa (double zero, double norm, const PoinT *p1, const PoinT *p2, double &ksi) const
 compute natural coordinate ksi of receiver at abscissa p1p2 answer: 1(0) = point lays on(out of) abscissa==line-segment More...
 
void beRotatedPoint (const Dmtrx *rot, const PoinT *point)
 Receiver will be point 'point' rotated by matrix 'rot'. this = rot . point. More...
 
void beRotatedBy (const double *r)
 Receiver will be rotated by matrix 'rot'. this = rot . this. More...
 
void beRotatedBy2d (const double *r)
 Receiver will be rotated by 2d matrix 'rot'. this = rot . this. More...
 
double * d () 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 97 of file arrays.h.

Member Function Documentation

void gelibspace::PoinT::bePointAtAbscissa ( const PoinT p1,
const PoinT p2,
double  ksi 
)
inline

receiver will be point at abscissa p1p2 with natural coord ksi

Definition at line 108 of file arrays.h.

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

void gelibspace::PoinT::beRotatedBy ( const double *  r)

Receiver will be rotated by matrix 'rot'. this = rot . this.

Definition at line 72 of file arrays.cpp.

Referenced by mumech::Mesh::local2global().

void gelibspace::PoinT::beRotatedBy2d ( const double *  r)

Receiver will be rotated by 2d matrix 'rot'. this = rot . this.

Definition at line 82 of file arrays.cpp.

Referenced by mumech::Mesh::local2global().

void gelibspace::PoinT::beRotatedPoint ( const Dmtrx rot,
const PoinT point 
)

Receiver will be point 'point' rotated by matrix 'rot'. this = rot . point.

Definition at line 60 of file arrays.cpp.

References errol, gelibspace::Xmtrx::give_ccols(), gelibspace::Xmtrx::give_crows(), gelibspace::Dmtrx::give_ptr2val(), gelibspace::Elem3D::x, gelibspace::Elem3D::y, and gelibspace::Elem3D::z.

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

Definition at line 100 of file arrays.h.

References gelibspace::Elem3D::copy().

Referenced by mumech::mNode::mNode().

double* gelibspace::PoinT::d ( ) const
inline

Definition at line 138 of file arrays.h.

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

double gelibspace::PoinT::dist2_to ( const PoinT p) const
inline

Definition at line 103 of file arrays.h.

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

Referenced by dist_to_line().

double gelibspace::PoinT::dist_to ( const PoinT p) const
inline

Definition at line 102 of file arrays.h.

double gelibspace::PoinT::dist_to_line ( const PoinT p1,
const PoinT p2 
) const
inline

give distance from receiver to line defined by p1 and p2

Definition at line 241 of file arrays.h.

References gelibspace::VectoR::beVectProduct(), dist2_to(), gelibspace::Elem3D::x, gelibspace::Elem3D::y, and gelibspace::Elem3D::z.

bool gelibspace::PoinT::give_ksiAtAbscissa ( double  zero,
double  norm,
const PoinT p1,
const PoinT p2,
double &  ksi 
) const
inline

compute natural coordinate ksi of receiver at abscissa p1p2 answer: 1(0) = point lays on(out of) abscissa==line-segment

toto dat do fce ktera vraci i

Definition at line 117 of file arrays.h.

References gelibspace::Elem3D::x, gelibspace::Elem3D::y, gelibspace::Elem3D::z, and gelibspace::Elem3D::zero().


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