mirror of
https://github.com/NGSolve/netgen.git
synced 2025-04-09 23:07:29 +05:00
only use cone (or userdefined points)
This commit is contained in:
parent
ac5f901cef
commit
2fd255baa7
@ -281,7 +281,7 @@ namespace netgen
|
|||||||
NgArray<INDEX> & lindex,
|
NgArray<INDEX> & lindex,
|
||||||
double xh)
|
double xh)
|
||||||
{
|
{
|
||||||
// static Timer timer("adfront2::GetLocals"); RegionTimer reg (timer);
|
static Timer timer("adfront2::GetLocals"); RegionTimer reg (timer);
|
||||||
|
|
||||||
int pstind;
|
int pstind;
|
||||||
Point<3> midp, p0;
|
Point<3> midp, p0;
|
||||||
@ -300,9 +300,10 @@ namespace netgen
|
|||||||
p0 + Vec3d(xh, xh, xh),
|
p0 + Vec3d(xh, xh, xh),
|
||||||
nearlines);
|
nearlines);
|
||||||
|
|
||||||
// pointsearchtree.GetIntersecting (p0 - Vec3d(xh, xh, xh),
|
// only cone points, other points are from linesearchtree
|
||||||
// p0 + Vec3d(xh, xh, xh),
|
cpointsearchtree.GetIntersecting (p0 - Vec3d(xh, xh, xh),
|
||||||
// nearpoints);
|
p0 + Vec3d(xh, xh, xh),
|
||||||
|
nearpoints);
|
||||||
|
|
||||||
for (int ii = 0; ii < nearlines.Size(); ii++)
|
for (int ii = 0; ii < nearlines.Size(); ii++)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user