mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Making nearestPointClassify query for triangle.
This is to access the face/edge/point status of the nearest at the same time to ensure a consistent result. Using getVolumeType query in distanceSurface, not simple normal dot-product comparison, fails on edges.
This commit is contained in:
@ -315,7 +315,7 @@ void Foam::surfaceIntersection::classifyHit
|
||||
surf2Pts[f2[0]],
|
||||
surf2Pts[f2[1]],
|
||||
surf2Pts[f2[2]]
|
||||
).classify(pHit.hitPoint(), tolDim, nearType, nearLabel);
|
||||
).classify(pHit.hitPoint(), nearType, nearLabel);
|
||||
|
||||
// Classify points on edge of surface1
|
||||
label edgeEnd =
|
||||
|
||||
Reference in New Issue
Block a user