mirror of https://github.com/CGAL/cgal
remove vertices(vertex) that is useless
This commit is contained in:
parent
fbfcbe43d8
commit
47e17d0a2c
|
|
@ -1303,11 +1303,6 @@ Finite_vertex_handles finite_vertex_handles() const;
|
|||
*/
|
||||
Points points() const;
|
||||
|
||||
/*!
|
||||
* returns an array of `Vertex_handle`s containing `v`
|
||||
*/
|
||||
std::array<Vertex_handle, 1> vertices(const Vertex_handle v) const;
|
||||
|
||||
/*!
|
||||
* returns an array of `Vertex_handle`s containing the end-vertices of `e`
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -1921,10 +1921,6 @@ public:
|
|||
}
|
||||
|
||||
/// Vertex ranges defining a simplex
|
||||
std::array<Vertex_handle, 1> vertices(const Vertex_handle v) const
|
||||
{
|
||||
return std::array<Vertex_handle, 1>{v};
|
||||
}
|
||||
std::array<Vertex_handle, 2> vertices(const Edge& e) const
|
||||
{
|
||||
return std::array<Vertex_handle, 2>{
|
||||
|
|
|
|||
|
|
@ -277,11 +277,6 @@ _test_vertices_array(const Triangulation& tr)
|
|||
typedef typename Triangulation::Vertex_handle Vertex_handle;
|
||||
typedef typename Triangulation::Cell_handle Cell_handle;
|
||||
|
||||
for (const Vertex_handle vh : tr.all_vertex_handles())
|
||||
{
|
||||
std::array<Vertex_handle, 1> vv = tr.vertices(vh);
|
||||
assert(vv[0] == vh);
|
||||
}
|
||||
for (const Edge& e : tr.all_edges())
|
||||
{
|
||||
std::array<Vertex_handle, 2> vv = tr.vertices(e);
|
||||
|
|
|
|||
Loading…
Reference in New Issue