voidremoveVertex(intv);//!< Removes the <TT>v</TT>-th vertex from the mesh. \warning Any adjacent edge or face will be removed, too. \param v Index of the vertex to be removed.
voidremoveEdge(inte);//!< Removes the <TT>e</TT>-th edge from the mesh. \warning Any adjacent face will be removed, too. \param e Index of the edge to be removed.
voidremoveFace(intf);//!< Removes the <TT>f</TT>-th face from the mesh. \param f Index of the face to be removed.
constV&vertex(intv)const{returnm_vertices[v];}
V&vertex(intv){returnm_vertices[v];}//!< Returns the <TT>v</TT>-th mesh vertex. \param v Index of the vertex to be returned. \return See description.
constE&edge(inte)const{returnm_edges[e];}
E&edge(inte){returnm_edges[e];}//!< Returns the <TT>e</TT>-th mesh edge. \param e Index of the edge to be returned. \return See description.
constF&face(intf)const{returnm_faces[f];}
F&face(intf){returnm_faces[f];}//!< Returns the <TT>f</TT>-th mesh face. \param f Index of the face to be returned. \return See description.
constV&edgeVertex(inte,inti)const
{
returnvertex(edge(e).vertex(i));
}
V&edgeVertex(inte,inti)//! \param e Host edge index. \param i Vertex index in e. \return See description.
{
returnvertex(edge(e).vertex(i));
}//!< Returns the <TT>i</TT>-th vertex in the edge of index \p e.
constF&edgeFace(inte,inti)const
{
returnface(edge(e).face(i));
}
F&edgeFace(inte,inti)//! \param e Host edge index. \param i Face index in e. \return See description.
{
returnface(edge(e).face(i));
}//!< Returns the <TT>i</TT>-th face in the edge of index \p e.
constV&otherEdgeVertex(inte,intv)const
{
returnvertex(edge(e).otherVertex(v));
}
V&otherEdgeVertex(inte,intv)//! \param e Host edge index. \param v Index of the adjacent vertex to \p e we're not interested in. \return See description.
{
returnvertex(edge(e).otherVertex(v));
}//!< Retrieves the vertex adjacent to \p e whose index is \a not \p v.
constF&otherEdgeFace(inte,intf)const
{
returnface(edge(e).otherFace(f));
}
F&otherEdgeFace(inte,intf)//! \param e Host edge index. \param f Index of the adjacent face to \p e we're not interested in. \return See description.
{
returnface(edge(e).otherFace(f));
}//!< Retrieves the face adjacent to \p e whose index is \a not \p f.
intedgeInciding(intv1,intv2,intn=0)const;//!< \brief Returns the edge index of the <TT>n</TT>-th edge inciding
//! \p v1 and \p v2, or \p -1 if the required edge could not be found. \param v1 First edge endpoint. \param v2 Second edge endpoint. \param n Index in the sequence of all edges inciding \p v1 and \p v2. \return See description.
//! \remark All indices and iterators will be \a invalidated.
voidsqueeze();//!< \brief Eliminates unused list nodes in the representation of