Public Member Functions | List of all members
conformationSurfaces Class Reference

Public Member Functions

 ClassName ("conformationSurfaces")
 
 conformationSurfaces (const Time &runTime, Random &rndGen, const searchableSurfaces &allGeometry, const dictionary &surfaceConformationDict)
 
 ~conformationSurfaces ()=default
 
const searchableSurfacesgeometry () const
 
const PtrList< extendedFeatureEdgeMesh > & features () const
 
const pointlocationInMesh () const
 
const labelListsurfaces () const
 
const List< word > & patchNames () const
 
const PtrList< surfaceZonesInfo > & surfZones () const
 
const PtrList< dictionary > & patchInfo () const
 
const treeBoundBoxglobalBounds () const
 
bool overlaps (const treeBoundBox &bb) const
 
Field< boolinside (const pointField &samplePts) const
 
bool inside (const point &samplePt) const
 
Field< booloutside (const pointField &samplePts) const
 
bool outside (const point &samplePt) const
 
Field< boolwellInOutSide (const pointField &samplePts, const scalarField &testDistSqr, bool testForInside) const
 
Field< boolwellInside (const pointField &samplePts, const scalarField &testDistSqr) const
 
bool wellInside (const point &samplePt, scalar testDistSqr) const
 
Field< boolwellOutside (const pointField &samplePts, const scalarField &testDistSqr) const
 
bool wellOutside (const point &samplePt, scalar testDistSqr) const
 
bool findSurfaceAnyIntersection (const point &start, const point &end) const
 
void findSurfaceAnyIntersection (const point &start, const point &end, pointIndexHit &surfHit, label &hitSurface) const
 
void findSurfaceAllIntersections (const point &start, const point &end, List< pointIndexHit > &surfHit, labelList &hitSurface) const
 
void findSurfaceNearestIntersection (const point &start, const point &end, pointIndexHit &surfHit, label &hitSurface) const
 
void findSurfaceNearest (const point &sample, scalar nearestDistSqr, pointIndexHit &surfHit, label &hitSurface) const
 
void findSurfaceNearest (const pointField &samples, const scalarField &nearestDistSqr, List< pointIndexHit > &hitInfo, labelList &hitSurfaces) const
 
void findFeaturePointNearest (const point &sample, scalar nearestDistSqr, pointIndexHit &fpHit, label &featureHit) const
 
void findEdgeNearest (const point &sample, scalar nearestDistSqr, pointIndexHit &edgeHit, label &featureHit) const
 
void findEdgeNearest (const pointField &samples, const scalarField &nearestDistsSqr, List< pointIndexHit > &edgeHits, labelList &featuresHit) const
 
void findEdgeNearestByType (const point &sample, scalar nearestDistSqr, List< pointIndexHit > &edgeHit, List< label > &featuresHit) const
 
void findAllNearestEdges (const point &sample, const scalar searchRadiusSqr, List< List< pointIndexHit >> &edgeHitsByFeature, List< label > &featuresHit) const
 
label getPatchID (const label hitSurface, const pointIndexHit &surfHit) const
 
label findPatch (const point &ptA, const point &ptB) const
 
label findPatch (const point &pt) const
 
extendedFeatureEdgeMesh::sideVolumeType meshableSide (const label hitSurface, const pointIndexHit &surfHit) const
 
void getNormal (const label hitSurface, const List< pointIndexHit > &surfHit, vectorField &normal) const
 
void writeFeatureObj (const fileName &prefix) const
 

Detailed Description

Source files

Definition at line 51 of file conformationSurfaces.H.

Constructor & Destructor Documentation

◆ conformationSurfaces()

conformationSurfaces ( const Time runTime,
Random rndGen,
const searchableSurfaces allGeometry,
const dictionary surfaceConformationDict 
)

◆ ~conformationSurfaces()

~conformationSurfaces ( )
default

Member Function Documentation

◆ ClassName()

ClassName ( "conformationSurfaces"  )

◆ geometry()

const Foam::searchableSurfaces & geometry ( ) const
inline

Definition at line 23 of file conformationSurfacesI.H.

◆ features()

const Foam::PtrList< Foam::extendedFeatureEdgeMesh > & features ( ) const
inline

Definition at line 30 of file conformationSurfacesI.H.

◆ locationInMesh()

const Foam::point & locationInMesh ( ) const
inline

Definition at line 36 of file conformationSurfacesI.H.

◆ surfaces()

const Foam::labelList & surfaces ( ) const
inline

Definition at line 42 of file conformationSurfacesI.H.

◆ patchNames()

const Foam::List< Foam::word > & patchNames ( ) const
inline

Definition at line 48 of file conformationSurfacesI.H.

◆ surfZones()

const Foam::PtrList< Foam::surfaceZonesInfo > & surfZones ( ) const
inline

Definition at line 55 of file conformationSurfacesI.H.

◆ patchInfo()

const Foam::PtrList< Foam::dictionary > & patchInfo ( ) const
inline

Definition at line 62 of file conformationSurfacesI.H.

◆ globalBounds()

const Foam::treeBoundBox & globalBounds ( ) const
inline

Definition at line 68 of file conformationSurfacesI.H.

◆ overlaps()

bool overlaps ( const treeBoundBox bb) const

◆ inside() [1/2]

Field<bool> inside ( const pointField samplePts) const

◆ inside() [2/2]

bool inside ( const point samplePt) const

◆ outside() [1/2]

Field<bool> outside ( const pointField samplePts) const

◆ outside() [2/2]

bool outside ( const point samplePt) const

◆ wellInOutSide()

Field<bool> wellInOutSide ( const pointField samplePts,
const scalarField testDistSqr,
bool  testForInside 
) const

◆ wellInside() [1/2]

Field<bool> wellInside ( const pointField samplePts,
const scalarField testDistSqr 
) const

◆ wellInside() [2/2]

bool wellInside ( const point samplePt,
scalar  testDistSqr 
) const

◆ wellOutside() [1/2]

Field<bool> wellOutside ( const pointField samplePts,
const scalarField testDistSqr 
) const

◆ wellOutside() [2/2]

bool wellOutside ( const point samplePt,
scalar  testDistSqr 
) const

◆ findSurfaceAnyIntersection() [1/2]

bool findSurfaceAnyIntersection ( const point start,
const point end 
) const

◆ findSurfaceAnyIntersection() [2/2]

void findSurfaceAnyIntersection ( const point start,
const point end,
pointIndexHit surfHit,
label &  hitSurface 
) const

◆ findSurfaceAllIntersections()

void findSurfaceAllIntersections ( const point start,
const point end,
List< pointIndexHit > &  surfHit,
labelList hitSurface 
) const

◆ findSurfaceNearestIntersection()

void findSurfaceNearestIntersection ( const point start,
const point end,
pointIndexHit surfHit,
label &  hitSurface 
) const

◆ findSurfaceNearest() [1/2]

void findSurfaceNearest ( const point sample,
scalar  nearestDistSqr,
pointIndexHit surfHit,
label &  hitSurface 
) const

◆ findSurfaceNearest() [2/2]

void findSurfaceNearest ( const pointField samples,
const scalarField nearestDistSqr,
List< pointIndexHit > &  hitInfo,
labelList hitSurfaces 
) const

◆ findFeaturePointNearest()

void findFeaturePointNearest ( const point sample,
scalar  nearestDistSqr,
pointIndexHit fpHit,
label &  featureHit 
) const

◆ findEdgeNearest() [1/2]

void findEdgeNearest ( const point sample,
scalar  nearestDistSqr,
pointIndexHit edgeHit,
label &  featureHit 
) const

◆ findEdgeNearest() [2/2]

void findEdgeNearest ( const pointField samples,
const scalarField nearestDistsSqr,
List< pointIndexHit > &  edgeHits,
labelList featuresHit 
) const

◆ findEdgeNearestByType()

void findEdgeNearestByType ( const point sample,
scalar  nearestDistSqr,
List< pointIndexHit > &  edgeHit,
List< label > &  featuresHit 
) const

◆ findAllNearestEdges()

void findAllNearestEdges ( const point sample,
const scalar  searchRadiusSqr,
List< List< pointIndexHit >> &  edgeHitsByFeature,
List< label > &  featuresHit 
) const

◆ getPatchID()

label getPatchID ( const label  hitSurface,
const pointIndexHit surfHit 
) const

◆ findPatch() [1/2]

label findPatch ( const point ptA,
const point ptB 
) const

◆ findPatch() [2/2]

label findPatch ( const point pt) const

◆ meshableSide()

extendedFeatureEdgeMesh::sideVolumeType meshableSide ( const label  hitSurface,
const pointIndexHit surfHit 
) const

◆ getNormal()

void getNormal ( const label  hitSurface,
const List< pointIndexHit > &  surfHit,
vectorField normal 
) const

◆ writeFeatureObj()

void writeFeatureObj ( const fileName prefix) const

The documentation for this class was generated from the following files: