|
MOOSE - Multiscale Object Oriented Simulation Environment
|
#include <Vec.h>
Collaboration diagram for Vec:Public Member Functions | |
| double | a0 () const |
| double | a1 () const |
| double | a2 () const |
| Vec | crossProduct (const Vec &other) const |
| double | distance (const Vec &other) const |
| double | dotProduct (const Vec &other) const |
| double | length () const |
| Vec | operator* (const double &other) const |
| Vec | operator+ (const Vec &other) const |
| Vec | operator- (const Vec &other) const |
| bool | operator== (const Vec &other) const |
| void | orthogonalAxes (Vec &u, Vec &v) const |
| Generates vectors u and v to form a mutually orthogonal system. More... | |
| Vec | pointOnLine (const Vec &end, double k) |
| void | unitLength () |
| Rescales vector so it has unit length. More... | |
| Vec (double a0, double a1, double a2) | |
| Vec () | |
Private Attributes | |
| double | a0_ |
| double | a1_ |
| double | a2_ |
| Vec::Vec | ( | double | a0, |
| double | a1, | ||
| double | a2 | ||
| ) |
|
inline |
Definition at line 16 of file Vec.h.
Referenced by crossProduct(), operator*(), operator+(), operator-(), orthogonalAxes(), and pointOnLine().
Here is the caller graph for this function:
|
inline |
Definition at line 34 of file Vec.h.
References a0_.
Referenced by addSpine(), coordSystem(), fillPointsOnCircle(), fillPointsOnDisc(), NeuroMesh::indexToSpace(), makeCompt(), CylBase::matchCubeMeshEntries(), CylMesh::matchCubeMeshEntries(), and reorientSpine().
Here is the caller graph for this function:
|
inline |
Definition at line 37 of file Vec.h.
References a1_.
Referenced by coordSystem(), fillPointsOnCircle(), fillPointsOnDisc(), NeuroMesh::indexToSpace(), makeCompt(), CylBase::matchCubeMeshEntries(), CylMesh::matchCubeMeshEntries(), and reorientSpine().
Here is the caller graph for this function:
|
inline |
Definition at line 40 of file Vec.h.
References a2_.
Referenced by coordSystem(), fillPointsOnCircle(), fillPointsOnDisc(), NeuroMesh::indexToSpace(), makeCompt(), CylBase::matchCubeMeshEntries(), CylMesh::matchCubeMeshEntries(), and reorientSpine().
Here is the caller graph for this function:Definition at line 26 of file Vec.cpp.
References a0_, a1_, a2_, and Vec().
Referenced by coordSystem(), orthogonalAxes(), and testVec().
Here is the call graph for this function:
Here is the caller graph for this function:| double Vec::distance | ( | const Vec & | other | ) | const |
Definition at line 81 of file Vec.cpp.
Referenced by SwcSegment::distance(), CylBase::nearest(), PsdMesh::nearest(), SpineMesh::nearest(), and SwcSegment::setGeometricalDistanceFromSoma().
Here is the caller graph for this function:| double Vec::dotProduct | ( | const Vec & | other | ) | const |
| double Vec::length | ( | ) | const |
Definition at line 18 of file Vec.cpp.
Referenced by coordSystem(), orthogonalAxes(), and unitLength().
Here is the caller graph for this function:| Vec Vec::operator* | ( | const double & | other | ) | const |
| bool Vec::operator== | ( | const Vec & | other | ) | const |
Generates vectors u and v to form a mutually orthogonal system.
Definition at line 41 of file Vec.cpp.
References a0_, a1_, a2_, crossProduct(), doubleApprox(), doubleEq(), length(), unitLength(), and Vec().
Referenced by CylBase::matchCubeMeshEntries(), CylMesh::matchCubeMeshEntries(), and testVec().
Here is the call graph for this function:
Here is the caller graph for this function:Returns a point on the line from self to 'end', a fraction k from the 'self'. r = self + k.(end - self)
Definition at line 53 of file Vec.cpp.
References a0_, a1_, a2_, and Vec().
Referenced by NeuroMesh::indexToSpace(), and CylBase::nearest().
Here is the call graph for this function:
Here is the caller graph for this function:| void Vec::unitLength | ( | ) |
|
private |
Definition at line 60 of file Vec.h.
Referenced by a0(), crossProduct(), dotProduct(), length(), operator*(), operator+(), operator-(), operator==(), orthogonalAxes(), pointOnLine(), and unitLength().
|
private |
Definition at line 61 of file Vec.h.
Referenced by a1(), crossProduct(), dotProduct(), length(), operator*(), operator+(), operator-(), operator==(), orthogonalAxes(), pointOnLine(), and unitLength().
|
private |
Definition at line 62 of file Vec.h.
Referenced by a2(), crossProduct(), dotProduct(), length(), operator*(), operator+(), operator-(), operator==(), orthogonalAxes(), pointOnLine(), and unitLength().