MIDAS  0.75
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
Public Member Functions | List of all members
midaspace::PoinT Struct Reference

#include <arrays.h>

Inheritance diagram for midaspace::PoinT:
midaspace::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...
 
double * d () const
 
- Public Member Functions inherited from midaspace::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)
 
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 midaspace::Elem3D
double x
 
double y
 
double z
 

Detailed Description

Definition at line 96 of file arrays.h.

Member Function Documentation

void midaspace::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 107 of file arrays.h.

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

Referenced by midaspace::Cell::cross_abscissa_node(), and midaspace::intersec_rectangle3d_line().

void midaspace::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, midaspace::Xmtrx::give_ccols(), midaspace::Xmtrx::give_crows(), midaspace::Dmtrx::give_ptr2val(), midaspace::Elem3D::x, midaspace::Elem3D::y, and midaspace::Elem3D::z.

PoinT* midaspace::PoinT::copy ( const PoinT p)
inline
double* midaspace::PoinT::d ( ) const
inline

Definition at line 133 of file arrays.h.

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

double midaspace::PoinT::dist2_to ( const PoinT p) const
inline
double midaspace::PoinT::dist_to ( const PoinT p) const
inline

Definition at line 101 of file arrays.h.

References dist2_to().

double midaspace::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 214 of file arrays.h.

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

Referenced by give_ksiAtAbscissa().

bool midaspace::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 116 of file arrays.h.

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

Referenced by midaspace::Edge::is_nod_on().


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