|
Code_TYMPAN
4.4.0
Industrial site acoustic simulation
|


Go to the source code of this file.
Classes | |
| class | VisibilityCone |
Functions | |
| OVector3D | buildVector2D (const OPoint3D &pA2D, const OPoint3D &pB2D) |
Optimized way to build a vector in 2D (horizontal plane z = 0) from point A to B To use as a replacement of costly OVector3D::OVector3D(const OCoord3D&, const OCoord3D&) More... | |
| bool | segmentIntersectsSemiLine2D (const OVector3D &vAB, const OVector3D &vMN, const OVector3D &vAM) |
| Test if the segment [MN] intersects the semi-line [AB) in 2D (horizontal plane z = 0) More... | |
| bool | solveLin2x2 (double a11, double a12, double a21, double a22, double b1, double b2, double &x1, double &x2) |
| Solve a 2x2 linear system of equations Ax = b. More... | |
Optimized way to build a vector in 2D (horizontal plane z = 0) from point A to B To use as a replacement of costly OVector3D::OVector3D(const OCoord3D&, const OCoord3D&)
| pA2D | A point (third coordinate is ignored) |
| pB2D | A point (third coordinate is ignored) |
Definition at line 92 of file TYVisibilityCone.h.

| bool segmentIntersectsSemiLine2D | ( | const OVector3D & | vAB, |
| const OVector3D & | vMN, | ||
| const OVector3D & | vAM | ||
| ) |
Test if the segment [MN] intersects the semi-line [AB) in 2D (horizontal plane z = 0)
| vAB | AB vector (third coordinates are assumed to be 0) |
| vMN | MN vector (third coordinates are assumed to be 0) |
| vAM | AM vector (third coordinates are assumed to be 0) |
Definition at line 74 of file TYVisibilityCone.cpp.


| bool solveLin2x2 | ( | double | a11, |
| double | a12, | ||
| double | a21, | ||
| double | a22, | ||
| double | b1, | ||
| double | b2, | ||
| double & | x1, | ||
| double & | x2 | ||
| ) |
Solve a 2x2 linear system of equations Ax = b.
| [in] | a11 | A_11 coefficient |
| [in] | a12 | A_12 coefficient |
| [in] | a21 | A_21 coefficient |
| [in] | a22 | A_22 coefficient |
| [in] | b1 | b_1 coefficient |
| [in] | b2 | b_2 coefficient |
| [out] | x1 | solution x_1 |
| [out] | x2 | solution x_2 |
Definition at line 92 of file TYVisibilityCone.cpp.
