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/indexedOctreeName.C
|
||||||
algorithms/indexedOctree/treeDataCell.C
|
algorithms/indexedOctree/treeDataCell.C
|
||||||
|
algorithms/indexedOctree/treeDataEdge.C
|
||||||
|
algorithms/indexedOctree/treeDataPoint.C
|
||||||
algorithms/indexedOctree/volumeType.C
|
algorithms/indexedOctree/volumeType.C
|
||||||
|
|
||||||
algorithms/dynamicIndexedOctree/dynamicIndexedOctreeName.C
|
algorithms/dynamicIndexedOctree/dynamicIndexedOctreeName.C
|
||||||
|
|||||||
@ -27,9 +27,7 @@ License
|
|||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "AABBTree.H"
|
#include "AABBTree.H"
|
||||||
#include "meshTools.H"
|
|
||||||
#include "bitSet.H"
|
#include "bitSet.H"
|
||||||
//#include "OFstream.H"
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::scalar Foam::AABBTree<Type>::tolerance_ = 1e-4;
|
Foam::scalar Foam::AABBTree<Type>::tolerance_ = 1e-4;
|
||||||
@ -46,9 +44,10 @@ void Foam::AABBTree<Type>::writeOBJ
|
|||||||
) const
|
) const
|
||||||
{
|
{
|
||||||
const pointField pts(bb.points());
|
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)
|
if (writeLinesOnly)
|
||||||
@ -27,9 +27,7 @@ License
|
|||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "treeDataPoint.H"
|
#include "treeDataPoint.H"
|
||||||
#include "treeBoundBox.H"
|
|
||||||
#include "indexedOctree.H"
|
#include "indexedOctree.H"
|
||||||
#include "triangleFuncs.H"
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
|
||||||
|
|
||||||
@ -89,9 +89,7 @@ regionSplit/localPointRegion.C
|
|||||||
|
|
||||||
regionSplit2D/regionSplit2D.C
|
regionSplit2D/regionSplit2D.C
|
||||||
|
|
||||||
indexedOctree/treeDataEdge.C
|
|
||||||
indexedOctree/treeDataFace.C
|
indexedOctree/treeDataFace.C
|
||||||
indexedOctree/treeDataPoint.C
|
|
||||||
indexedOctree/treeDataPrimitivePatchName.C
|
indexedOctree/treeDataPrimitivePatchName.C
|
||||||
indexedOctree/treeDataTriSurface.C
|
indexedOctree/treeDataTriSurface.C
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user