#include <PointModifiers.h>
This class store all the info to create a new point in the mesh taking into account estimated id id of duplicated point if this point will be splitted due to a cut. This structure also store all the ancestors and coefficient to efficently add this point into the current mesh.
| Public Attributes | |
| PointID | m_uniqueID | 
| Unique ID of this point structure. Will be a code combining ancestors ids.  More... | |
| PointID | m_idPoint = sofa::InvalidID | 
| Future pointID of this pointToAdd.  More... | |
| PointID | m_idClone = sofa::InvalidID | 
| Future pointID of this pointToAdd if this point is duplicated due to a cut.  More... | |
| sofa::geometry::ElementType | m_ancestorType = sofa::geometry::ElementType::UNKNOWN | 
| core::topology::BaseMeshTopology::ElemID | m_ownerId = sofa::InvalidID | 
| sofa::type::vector< PointID > | m_ancestors | 
| List of ancestors (existing point ID of the mesh)  More... | |
| sofa::type::vector< SReal > | m_coefs | 
| List of corresponding coefficients.  More... | |
| bool | m_isSnapped = false | 
| SReal | m_snapValue | 
| Public Member Functions | |
| PointToAdd (PointID uniqueID, PointID idPoint, const sofa::type::vector< PointID > &ancestors, const sofa::type::vector< SReal > &coefs, SReal snapValue=1_sreal) | |
| void | updatePointIDForDuplication (bool split=true) | 
| PointID | getNbrNewPoint () | 
| void | printValue () | 
| sofa::type::vector<PointID> sofa::component::topology::container::dynamic::PointToAdd::m_ancestors | 
List of ancestors (existing point ID of the mesh)
| sofa::geometry::ElementType sofa::component::topology::container::dynamic::PointToAdd::m_ancestorType = sofa::geometry::ElementType::UNKNOWN | 
| sofa::type::vector<SReal> sofa::component::topology::container::dynamic::PointToAdd::m_coefs | 
List of corresponding coefficients.
| PointID sofa::component::topology::container::dynamic::PointToAdd::m_idClone = sofa::InvalidID | 
Future pointID of this pointToAdd if this point is duplicated due to a cut.
| PointID sofa::component::topology::container::dynamic::PointToAdd::m_idPoint = sofa::InvalidID | 
Future pointID of this pointToAdd.
| bool sofa::component::topology::container::dynamic::PointToAdd::m_isSnapped = false | 
| core::topology::BaseMeshTopology::ElemID sofa::component::topology::container::dynamic::PointToAdd::m_ownerId = sofa::InvalidID | 
| SReal sofa::component::topology::container::dynamic::PointToAdd::m_snapValue | 
| PointID sofa::component::topology::container::dynamic::PointToAdd::m_uniqueID | 
Unique ID of this point structure. Will be a code combining ancestors ids.
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline |