A collection of tools for searchableSurfaces. More...
Public Member Functions | |
ClassName ("searchableSurfacesQueries") | |
Static Public Member Functions | |
static void | findAnyIntersection (const PtrList< searchableSurface > &, const labelList &surfacesToTest, const pointField &start, const pointField &end, labelList &surfaces, List< pointIndexHit > &) |
static void | findAllIntersections (const PtrList< searchableSurface > &, const labelList &surfacesToTest, const pointField &start, const pointField &end, labelListList &surfaces, List< List< pointIndexHit >> &surfaceHits) |
static void | findNearestIntersection (const PtrList< searchableSurface > &allSurfaces, const labelList &surfacesToTest, const pointField &start, const pointField &end, labelList &surface1, List< pointIndexHit > &hit1, labelList &surface2, List< pointIndexHit > &hit2) |
static void | findNearest (const PtrList< searchableSurface > &, const labelList &surfacesToTest, const pointField &, const scalarField &nearestDistSqr, labelList &surfaces, List< pointIndexHit > &) |
static void | findNearest (const PtrList< searchableSurface > &allSurfaces, const labelList &surfacesToTest, const labelListList ®ionIndices, const pointField &samples, const scalarField &nearestDistSqr, labelList &nearestSurfaces, List< pointIndexHit > &nearestInfo) |
static void | findNearest (const PtrList< searchableSurface > &allSurfaces, const labelList &surfacesToTest, const pointField &start, const scalarField &distSqr, pointField &near, List< pointConstraint > &constraint, const label nIter=20) |
static void | signedDistance (const PtrList< searchableSurface > &allSurfaces, const labelList &surfacesToTest, const pointField &samples, const scalarField &nearestDistSqr, const volumeType illegalHandling, labelList &nearestSurfaces, scalarField &distance) |
static boundBox | bounds (const PtrList< searchableSurface > &allSurfaces, const labelUList &surfacesToTest) |
A collection of tools for searchableSurfaces.
Definition at line 50 of file searchableSurfacesQueries.H.
ClassName | ( | "searchableSurfacesQueries" | ) |
|
static |
Definition at line 115 of file searchableSurfacesQueries.C.
References stdFoam::end(), forAll, Foam::identity(), p0, and List::setSize().
Referenced by searchableSurfaces::findAnyIntersection(), and refinementSurfaces::findAnyIntersection().
|
static |
Definition at line 176 of file searchableSurfacesQueries.C.
References stdFoam::end(), forAll, Foam::magSqr(), and List::setSize().
Referenced by searchableSurfaces::findAllIntersections().
|
static |
Definition at line 255 of file searchableSurfacesQueries.C.
References stdFoam::end(), forAll, and List::setSize().
Referenced by searchableSurfaces::findNearestIntersection().
|
static |
Definition at line 342 of file searchableSurfacesQueries.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::magSqr(), samples(), and List::setSize().
Referenced by searchableSurfaces::findNearest(), refinementSurfaces::findNearest(), refinementSurfaces::findNearestRegion(), projectCurveEdge::position(), and projectEdge::position().
|
static |
Definition at line 397 of file searchableSurfacesQueries.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::magSqr(), samples(), and List::setSize().
|
static |
Definition at line 470 of file searchableSurfacesQueries.C.
References plane::ray::dir(), Foam::constant::electromagnetic::e, Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::mag(), n, plane::planeIntersect(), plane::ray::refPoint(), s, List::setSize(), Foam::sqrt(), and VectorSpace< Vector< scalar >, scalar, 3 >::zero.
|
static |
Definition at line 592 of file searchableSurfacesQueries.C.
References DynamicList::append(), DynamicField::append(), DynamicList::clear(), DynamicField::clear(), Foam::distance(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, volumeType::INSIDE, Foam::mag(), volumeType::OUTSIDE, samples(), and volumeType::str().
|
static |
Definition at line 690 of file searchableSurfacesQueries.C.
References boundBox::add(), and boundBox::invertedBox.
Referenced by searchableSurfaces::bounds().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.