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

#include <arrays.h>

Inheritance diagram for midaspace::VectoR:
midaspace::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
 
bool is_parallel_with (const VectoR *that, double relZero) 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 147 of file arrays.h.

Member Function Documentation

VectoR* midaspace::VectoR::beP2P ( const PoinT p1,
const PoinT p2 
)
inline
VectoR* midaspace::VectoR::beVectProduct ( const VectoR v1,
const VectoR v2 
)
inline
VectoR* midaspace::VectoR::beVectProduct ( const PoinT p1,
const PoinT p2,
const PoinT p3 
)
inline

vector product p1p2 x p1p3

Definition at line 167 of file arrays.h.

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

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

vector product p1p2 x p3p4

Definition at line 175 of file arrays.h.

References beP2P(), and beVectProduct().

VectoR* midaspace::VectoR::copy ( const VectoR p)
inline
double midaspace::VectoR::give_length ( void  ) const
inline
bool midaspace::VectoR::is_parallel_with ( const VectoR that,
double  relZero 
) const
inline
VectoR* midaspace::VectoR::normalize ( void  )
inline

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