ug4
|
Holds information about edge relations. Used internally. More...
#include <multi_grid_child_info.h>
Public Member Functions | |
void | add_child (Edge *elem) |
void | add_child (Face *) |
void | add_child (Vertex *elem) |
void | add_child (Volume *) |
Edge * | child_edge (size_t i) const |
Vertex * | child_vertex () const |
void | clear_children () |
bool | has_children () const |
MGEdgeInfo () | |
size_t | num_child_edges () const |
size_t | num_child_vertices () const |
void | remove_child (Edge *elem) |
void | remove_child (Face *) |
void | remove_child (Vertex *elem) |
void | remove_child (Volume *) |
void | replace_child (Edge *elem, Edge *child) |
void | replace_child (Vertex *elem, Vertex *child) |
void | unregister_from_children (MultiGrid &mg) |
Public Attributes | |
GridObject * | m_pParent |
Private Attributes | |
byte | m_numEdgeChildren |
Edge * | m_pEdgeChild [MG_EDGE_MAX_EDGE_CHILDREN] |
Vertex * | m_pVrtChild |
Holds information about edge relations. Used internally.
an edge can have one of the following states: MGES_NORMAL, MGES_CONSTRAINING, MGES_CONSTRAINED the following should always hold true: children of a constraining edge are constrained. children of a constrained edge are constrained.
|
inline |
|
inline |
References m_numEdgeChildren, m_pEdgeChild, and ug::MG_EDGE_MAX_EDGE_CHILDREN.
|
inline |
References m_pVrtChild.
Referenced by ug::MultiGrid::edge_created().
|
inline |
References m_pEdgeChild, and num_child_edges().
Referenced by ug::MultiGrid::edge_created().
|
inline |
References m_pVrtChild.
Referenced by ug::MultiGrid::edge_created().
|
inline |
References m_numEdgeChildren, and m_pVrtChild.
Referenced by unregister_from_children().
|
inline |
References m_numEdgeChildren, and m_pVrtChild.
|
inline |
References m_numEdgeChildren.
Referenced by child_edge(), and ug::MultiGrid::edge_created().
|
inline |
References m_pVrtChild.
|
inline |
References ug::ArrayEraseEntry(), m_numEdgeChildren, and m_pEdgeChild.
|
inline |
References m_pVrtChild.
References ug::ArrayReplaceEntry(), m_numEdgeChildren, and m_pEdgeChild.
References m_pVrtChild.
void ug::MGEdgeInfo::unregister_from_children | ( | MultiGrid & | mg | ) |
References clear_children(), m_numEdgeChildren, m_pEdgeChild, m_pVrtChild, and ug::MultiGrid::set_parent().
|
private |
Referenced by add_child(), clear_children(), has_children(), num_child_edges(), remove_child(), replace_child(), and unregister_from_children().
|
private |
Referenced by add_child(), child_edge(), remove_child(), replace_child(), and unregister_from_children().
GridObject* ug::MGEdgeInfo::m_pParent |
|
private |
Referenced by add_child(), child_vertex(), clear_children(), has_children(), num_child_vertices(), remove_child(), replace_child(), and unregister_from_children().