fix formatting

This commit is contained in:
Sébastien Loriot 2016-10-21 12:04:59 +02:00 committed by Mael Rouxel-Labbé
parent 82ff73da86
commit eab6b6b68a
1 changed files with 137 additions and 147 deletions

View File

@ -247,7 +247,9 @@ typedef typename boost::graph_traits<TM>::face_descriptor face_descriptor;
return (this->mesh_ == other.mesh_) && (this->hd == other.hd);
}
vertex_descriptor dereference() const { return vertex_descriptor(*hd); }
vertex_descriptor dereference() const {
return vertex_descriptor(*hd);
}
TM_halfedge_iterator hd, end;
@ -361,8 +363,6 @@ public:
return index;
}
halfedge_descriptor m_next(const halfedge_descriptor& hd) const
{
if((! hd.seam)&& (! is_border(hd.tmhd,tm))) {
@ -375,7 +375,6 @@ public:
return halfedge_descriptor(opposite(*hatc,tm), ! is_border(opposite(*hatc,tm),tm));
}
halfedge_descriptor m_prev(const halfedge_descriptor& hd) const
{
if((! hd.seam)&& (! is_border(hd.tmhd,tm))) {
@ -388,7 +387,6 @@ public:
return halfedge_descriptor(opposite(*hatc,tm), ! is_border(opposite(*hatc,tm),tm));
}
halfedge_descriptor m_opposite(const halfedge_descriptor& hd) const
{
if(! hd.seam) {
@ -398,7 +396,6 @@ public:
return halfedge_descriptor(opposite(hd.tmhd,tm));
}
vertex_descriptor m_target(halfedge_descriptor hd) const
{
TM_halfedge_descriptor tmhd(hd);
@ -418,13 +415,6 @@ public:
return vertex_descriptor(halfedge_descriptor(tmhd));
}
/*
vertex_descriptor m_target(const halfedge_descriptor& hd) const
{
return m_target(hd.tmhd);
}
*/
vertex_descriptor m_source(const halfedge_descriptor& hd) const
{
return m_target(opposite(hd.tmhd, tm));