Add AABB_triangle_primitive_2

This commit is contained in:
Andreas Fabri
2024-03-05 10:03:52 +00:00
parent b70a736083
commit 6c1185d60b
3 changed files with 109 additions and 2 deletions
@@ -3279,6 +3279,7 @@ namespace CartesianKernelFunctors {
typedef typename K::Point_2 Point_2;
typedef typename K::Line_2 Line_2;
typedef typename K::Segment_2 Segment_2;
typedef typename K::Triangle_2 Triangle_2;
public:
typedef Point_2 result_type;
@@ -3299,6 +3300,12 @@ namespace CartesianKernelFunctors {
// CommonKernelFunctors::Construct_projected_point_3<K>()(s,p,K());
}
Point_2
operator()( const Triangle_2& t, const Point_2& p ) const
{
assert(false);
return p;
}
};