SOFA API  1a4bb3e7
Open source framework for multi-physics simuation
sofa::core::topology::HexahedraIndicesSwap Class Reference

#include <TopologyChange.h>

Inheritance diagram for sofa::core::topology::HexahedraIndicesSwap:

Detailed Description

indicates that the indices of two Hexahedra are being swapped

Public Attributes

Topology::HexahedronID index [2]
 

Public Member Functions

 HexahedraIndicesSwap (const Topology::HexahedronID i1, const Topology::HexahedronID i2)
 
 ~HexahedraIndicesSwap () override
 
- 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

◆ index

Topology::HexahedronID sofa::core::topology::HexahedraIndicesSwap::index[2]

Constructor details

◆ HexahedraIndicesSwap()

sofa::core::topology::HexahedraIndicesSwap::HexahedraIndicesSwap ( const Topology::HexahedronID  i1,
const Topology::HexahedronID  i2 
)
inline

◆ ~HexahedraIndicesSwap()

sofa::core::topology::HexahedraIndicesSwap::~HexahedraIndicesSwap ( )
override