23 edge_ = UndirectedEdgeId{0};
32 assert( edge_.valid() );
38 edge_ = UndirectedEdgeId{};
50 UndirectedEdgeId edge_;
62inline IteratorRange<PolylineUndirectedEdgeIterator>
undirectedEdges(
const PolylineTopology & topology )
63 {
return { PolylineUndirectedEdgeIterator( topology ), PolylineUndirectedEdgeIterator() }; }
Definition MRPolylineTopology.h:15
size_t undirectedEdgeSize() const
returns the number of undirected edges (pairs of half-edges) including lone ones
Definition MRPolylineTopology.h:43
MRMESH_API bool isLoneEdge(EdgeId a) const
checks whether the edge is disconnected from all other edges and disassociated from all vertices (as ...
Definition MRPolylineEdgeIterator.h:13
PolylineUndirectedEdgeIterator & operator++()
Definition MRPolylineEdgeIterator.h:30
PolylineUndirectedEdgeIterator(const PolylineTopology &topology)
Definition MRPolylineEdgeIterator.h:19
std::forward_iterator_tag iterator_category
Definition MRPolylineEdgeIterator.h:15
UndirectedEdgeId operator*() const
Definition MRPolylineEdgeIterator.h:46
PolylineUndirectedEdgeIterator()=default
UndirectedEdgeId value_type
Definition MRPolylineEdgeIterator.h:16
MRMESH_API bool operator==(const BitSet &a, const BitSet &b)
compare that two bit sets have the same set bits (they can be equal even if sizes are distinct but la...
bool operator!=(const SetBitIteratorT< T > &a, const SetBitIteratorT< T > &b)
Definition MRMesh/MRBitSet.h:276
Definition MRCameraOrientationPlugin.h:8
IteratorRange< UndirectedEdgeIterator > undirectedEdges(const MeshTopology &topology)
Definition MREdgeIterator.h:58