MCPcopy Create free account
hub / github.com/PDAL/PDAL / stableSort

Method stableSort

pdal/PointView.cpp:113–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113void PointView::stableSort(Dimension::Id dim)
114{
115 auto comp = [this, dim](PointId id1, PointId id2)
116 {
117 return compare(dim, id1, id2);
118 };
119 basic_sort(std::stable_sort<std::vector<PointId>::iterator, PointView::Compare>, comp);
120}
121
122void PointView::stableSort(Compare comp)
123{

Callers 1

filterMethod · 0.80

Calls 1

compareFunction · 0.70

Tested by

no test coverage detected