mirror of https://github.com/CGAL/cgal
Add operator <
This commit is contained in:
parent
d9024f39f2
commit
01be9610ee
|
|
@ -137,6 +137,11 @@ namespace Intrinsic_Delaunay_Triangulation_3 {
|
|||
struct Vertex_descriptor {
|
||||
halfedge_descriptor hd;
|
||||
|
||||
bool operator<(const Vertex_descriptor& other) const
|
||||
{
|
||||
return hd < other.hd;
|
||||
}
|
||||
|
||||
Vertex_descriptor(const halfedge_descriptor& hd)
|
||||
: hd(hd)
|
||||
{}
|
||||
|
|
|
|||
|
|
@ -131,6 +131,8 @@ int main()
|
|||
|
||||
//source set tests
|
||||
Heat_method hm(sm, vertex_distance_map);
|
||||
hm.add_source(* vertices(sm).first);
|
||||
hm.update();
|
||||
#if 0
|
||||
source_set_tests(hm,sm);
|
||||
//cotan matrix tests
|
||||
|
|
|
|||
Loading…
Reference in New Issue