mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +05:00
use convex hulls
This commit is contained in:
parent
40bb7d7c61
commit
1d70dcf08b
@ -109,7 +109,12 @@ namespace netgen
|
|||||||
double curv = fabs(first(0)*second(1)-first(1)*second(0)) / pow(first.Length(), 3);
|
double curv = fabs(first(0)*second(1)-first(1)*second(0)) / pow(first.Length(), 3);
|
||||||
return curv;
|
return curv;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
virtual bool InConvexHull (Point<2> p, double eps) const
|
||||||
|
{
|
||||||
|
return seg.InConvexHull (p, eps);
|
||||||
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user