SOFA API  98f76541
Open source framework for multi-physics simuation
sofa::core::topology::EdgesRemoved Class Reference

#include <TopologyChange.h>

Inheritance diagram for sofa::core::topology::EdgesRemoved:

Detailed Description

indicates that some edges are about to be removed

Public Attributes

sofa::type::vector< Topology::EdgeIDremovedEdgesArray

Public Member Functions

 EdgesRemoved (const sofa::type::vector< Topology::EdgeID > _eArray)
 ~EdgesRemoved () override
virtual const sofa::type::vector< Topology::EdgeID > & getArray () const
virtual std::size_t getNbRemovedEdges () const
- Public Member Functions inherited from sofa::core::topology::TopologyChange
virtual ~TopologyChange ()
TopologyChangeType getChangeType () const
 Returns the code of this TopologyChange. More...
virtual bool write (std::ostream &out) const
virtual bool read (std::istream &in)

Additional Inherited Members

- Protected Attributes inherited from sofa::core::topology::TopologyChange
TopologyChangeType m_changeType
 A code that tells the nature of the Topology modification event (could be an enum). More...
- Protected Member Functions inherited from sofa::core::topology::TopologyChange
 TopologyChange (TopologyChangeType changeType=BASE)

Attribute details

◆ removedEdgesArray

sofa::type::vector<Topology::EdgeID> sofa::core::topology::EdgesRemoved::removedEdgesArray

Constructor details

◆ EdgesRemoved()

sofa::core::topology::EdgesRemoved::EdgesRemoved ( const sofa::type::vector< Topology::EdgeID _eArray)

◆ ~EdgesRemoved()

sofa::core::topology::EdgesRemoved::~EdgesRemoved ( )

Function details

◆ getArray()

virtual const sofa::type::vector<Topology::EdgeID>& sofa::core::topology::EdgesRemoved::getArray ( ) const

◆ getNbRemovedEdges()

virtual std::size_t sofa::core::topology::EdgesRemoved::getNbRemovedEdges ( ) const