mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
GIT: relocate treeDataEdge, treeDataPoint into OpenFOAM
- similar to treeDataCell, doesn't need any meshTools components - AABBTree under algorithms (like indexedOctree)
This commit is contained in:
@ -824,6 +824,8 @@ $(interpolationWeights)/splineInterpolationWeights/splineInterpolationWeights.C
|
||||
|
||||
algorithms/indexedOctree/indexedOctreeName.C
|
||||
algorithms/indexedOctree/treeDataCell.C
|
||||
algorithms/indexedOctree/treeDataEdge.C
|
||||
algorithms/indexedOctree/treeDataPoint.C
|
||||
algorithms/indexedOctree/volumeType.C
|
||||
|
||||
algorithms/dynamicIndexedOctree/dynamicIndexedOctreeName.C
|
||||
|
||||
@ -27,9 +27,7 @@ License
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
#include "AABBTree.H"
|
||||
#include "meshTools.H"
|
||||
#include "bitSet.H"
|
||||
//#include "OFstream.H"
|
||||
|
||||
template<class Type>
|
||||
Foam::scalar Foam::AABBTree<Type>::tolerance_ = 1e-4;
|
||||
@ -46,9 +44,10 @@ void Foam::AABBTree<Type>::writeOBJ
|
||||
) const
|
||||
{
|
||||
const pointField pts(bb.points());
|
||||
for (const point& pt : pts)
|
||||
|
||||
for (const point& p : pts)
|
||||
{
|
||||
meshTools::writeOBJ(os, pt);
|
||||
os << "v " << p.x() << ' ' << p.y() << ' ' << p.z() << nl;
|
||||
}
|
||||
|
||||
if (writeLinesOnly)
|
||||
@ -27,9 +27,7 @@ License
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
#include "treeDataPoint.H"
|
||||
#include "treeBoundBox.H"
|
||||
#include "indexedOctree.H"
|
||||
#include "triangleFuncs.H"
|
||||
|
||||
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
|
||||
|
||||
@ -89,9 +89,7 @@ regionSplit/localPointRegion.C
|
||||
|
||||
regionSplit2D/regionSplit2D.C
|
||||
|
||||
indexedOctree/treeDataEdge.C
|
||||
indexedOctree/treeDataFace.C
|
||||
indexedOctree/treeDataPoint.C
|
||||
indexedOctree/treeDataPrimitivePatchName.C
|
||||
indexedOctree/treeDataTriSurface.C
|
||||
|
||||
|
||||
Reference in New Issue
Block a user