#include <string>
#include "wcpplib/util/FunNameStack.h"
#include "wcpplib/geometry/vfloat.h"
#include "wcpplib/geometry/vec.ic"
Go to the source code of this file.
◆ ApplyAnyFunctionToVecElements
#define ApplyAnyFunctionToVecElements |
( |
|
func | ) |
|
Value: { \
auto aref_tran = get_components(); \
int q = aref_tran.qaref; \
for (int n = 0; n < q; n++) (this->*(aref_tran.aref[n])).func; \
q = aref_tran.qaref_pointer; \
for (int n = 0; n < q; n++) aref_tran.aref_pointer[n]->func; \
q = aref_tran.qaref_other; \
for (int n = 0; n < q; n++) { \
absref* ar = aref_tran.get_other(n); \
if (!ar) break; \
ar->func; \
} \
}
Definition at line 157 of file vec.h.
◆ pvecerror
#define pvecerror |
( |
|
string | ) |
|
Value:
if (vecerror != 0) { \
mcerr <<
"vecerror is not zero, program is terminated\n" \
<< " function detected error is " << string << '\n'; \
}
Definition at line 28 of file vec.h.
◆ pvecerrorp
#define pvecerrorp |
( |
|
string | ) |
|
Value:
if (vecerror != 0) { \
mcerr <<
"vecerror is not zero, program is terminated\n" \
<< " function detected error is " << string << '\n'; \
}
#define mfunnamep(string)
Definition at line 35 of file vec.h.
◆ vec_syscoor_index
#define vec_syscoor_index 0 |
Coordinate system (centre, basis and mother coordinate system). Take care: c.abas must be equal to abas->ex.abas. If asc==NULL and abs(c)==0 than it is primary system of coordinate and therefore c.abas and abas->ex.abas must be zero, baz may be zero or pointer to unit basis.
Definition at line 421 of file vec.h.