문제

There is an implementation of VD for segments in CGAL library, but it works only for Euclidean metrics case. Is it possible to use my own metric function there?

도움이 되었습니까?

해결책

This should theoretically be possible, but not easy to do. Changing the metric implies changing all the predicates and constructions (which is quite a lot of work). You must provide a new model of SegmentDelaunayGraphTraits_2 concept.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top