Given point flip all faces such that normals point in same direction. More...
#include <meshTools/orientedSurface.H>
Given point flip all faces such that normals point in same direction.
Definition at line 52 of file orientedSurface.H.
Public Member Functions | |
ClassName ("orientedSurface") | |
orientedSurface () | |
Construct null.
| |
orientedSurface (const triSurface &, const point &samplePoint, const bool orientOutside=true) | |
Construct from triSurface and sample point which is either.
| |
orientedSurface (const triSurface &, const bool orientOutside=true) | |
Construct from triSurface. Calculates outside point as being.
| |
Static Public Member Functions | |
static bool | orient (triSurface &, const point &, const bool orientOutside) |
Flip faces such that normals are consistent with point:
|
orientedSurface | ( | ) |
Construct null.
Definition at line 322 of file orientedSurface.C.
orientedSurface | ( | const triSurface & | surf, |
const point & | samplePoint, | ||
const bool | orientOutside = true
|
||
) |
Construct from triSurface and sample point which is either.
outside (orientOutside = true) or inside (orientOutside = false). Uses linear search to find nearest.
Definition at line 330 of file orientedSurface.C.
orientedSurface | ( | const triSurface & | surf, |
const bool | orientOutside = true
|
||
) |
Construct from triSurface. Calculates outside point as being.
outside the bounding box of the surface.
Definition at line 344 of file orientedSurface.C.
References Vector< Cmpt >::max, PrimitivePatch< Face, FaceList, PointField, PointType >::meshPoints(), and PrimitivePatch< Face, FaceList, PointField, PointType >::points().
ClassName | ( | "orientedSurface" | ) |
bool orient | ( | triSurface & | s, |
const point & | samplePoint, | ||
const bool | orientOutside | ||
) | [static]
|
Flip faces such that normals are consistent with point:
orientOutside=true : point outside surface orientOutside=false : point inside surface
Definition at line 363 of file orientedSurface.C.
References PointHit< Point >::distance(), forAll, PrimitivePatch< Face, FaceList, PointField, PointType >::points(), PointHit< Point >::rawPoint(), and List< T >::size().