Contains information about location on a triSurface. More...
Public Member Functions | |
surfaceLocation () | |
surfaceLocation (const pointIndexHit &pHit, const triPointRef::proxType elementType, const label triangle) | |
surfaceLocation (Istream &is) | |
triPointRef::proxType & | elementType () noexcept |
triPointRef::proxType | elementType () const noexcept |
label & | triangle () noexcept |
label | triangle () const noexcept |
vector | normal (const triSurface &s) const |
InfoProxy< surfaceLocation > | info () const |
void | write (Ostream &os, const triSurface &s) const |
![]() | |
PointIndexHit () | |
PointIndexHit (const point_type &p) | |
PointIndexHit (const bool success, const point_type &p, const label index) | |
PointIndexHit (Istream &is) | |
bool | hit () const noexcept |
label | index () const noexcept |
const point_type & | point () const noexcept |
point_type & | point () noexcept |
const point_type & | hitPoint () const |
const point_type & | missPoint () const |
const point_type & | rawPoint () const noexcept |
point_type & | rawPoint () noexcept |
void | setHit () noexcept |
void | setMiss () noexcept |
void | setPoint (const point_type &p) |
void | setIndex (const label index) noexcept |
void | hitPoint (const point_type &p, const label index) |
void | write (Ostream &os) |
bool | operator== (const PointIndexHit &rhs) const |
bool | operator!= (const PointIndexHit &rhs) const |
Friends | |
Istream & | operator>> (Istream &is, surfaceLocation &sl) |
Ostream & | operator<< (Ostream &os, const surfaceLocation &sl) |
Ostream & | operator<< (Ostream &os, const InfoProxy< surfaceLocation > &ip) |
Additional Inherited Members | |
![]() | |
typedef PointType | point_type |
Contains information about location on a triSurface.
Definition at line 67 of file surfaceLocation.H.
|
inline |
Definition at line 83 of file surfaceLocation.H.
|
inline |
Definition at line 92 of file surfaceLocation.H.
|
inlineexplicit |
Definition at line 104 of file surfaceLocation.H.
|
inlinenoexcept |
Definition at line 114 of file surfaceLocation.H.
Referenced by triSurfaceTools::classify(), Foam::operator<<(), and triSurfaceTools::trackToEdge().
|
inlinenoexcept |
Definition at line 119 of file surfaceLocation.H.
|
inlinenoexcept |
Definition at line 124 of file surfaceLocation.H.
Referenced by Foam::operator<<(), triSurfaceTools::track(), and triSurfaceTools::trackToEdge().
|
inlinenoexcept |
Definition at line 129 of file surfaceLocation.H.
Foam::vector normal | ( | const triSurface & | s | ) | const |
Definition at line 27 of file surfaceLocation.C.
References triangle::EDGE, PointIndexHit::index(), Foam::mag(), n, triangle::NONE, s, and Foam::Zero.
|
inline |
Definition at line 138 of file surfaceLocation.H.
void write | ( | Ostream & | os, |
const triSurface & | s | ||
) | const |
Definition at line 65 of file surfaceLocation.C.
References Foam::constant::electromagnetic::e, triangle::EDGE, triangle::NONE, os(), and s.
|
friend |
|
friend |
|
friend |
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.