|
ug4
|
This class is used to store constrained geometric objects. More...
#include <grid_objects_2d.h>
Inheritance diagram for ug::ConstrainingFace:Public Member Functions | |
| void | add_constrained_object (Edge *pObj) |
| void | add_constrained_object (Face *pObj) |
| void | add_constrained_object (Vertex *pObj) |
| void | clear_constrained_edges () |
| void | clear_constrained_faces () |
| void | clear_constrained_objects () |
| void | clear_constrained_vertices () |
| template<> | |
| Vertex * | constrained (size_t ind) const |
| template<> | |
| Edge * | constrained (size_t ind) const |
| template<> | |
| Face * | constrained (size_t ind) const |
| template<class TElem > | |
| TElem * | constrained (size_t ind) const |
| Edge * | constrained_edge (size_t ind) const |
| Face * | constrained_face (size_t ind) const |
| Vertex * | constrained_vertex (size_t ind) const |
| bool | is_constrained_object (Edge *edge) |
| bool | is_constrained_object (Face *face) |
| bool | is_constrained_object (Vertex *vrt) |
| virtual bool | is_constraining () const |
| returns the id of the reference-object. | |
| template<> | |
| size_t | num_constrained () const |
| template<> | |
| size_t | num_constrained () const |
| template<> | |
| size_t | num_constrained () const |
| template<class TElem > | |
| size_t | num_constrained () const |
| size_t | num_constrained_edges () const |
| size_t | num_constrained_faces () const |
| size_t | num_constrained_vertices () const |
| virtual void | remove_constraint_link (const Edge *e) |
| removes a constraint link to the grid object. | |
| virtual void | remove_constraint_link (const Face *f) |
| removes a constraint link to the grid object. | |
| virtual void | remove_constraint_link (const Vertex *vrt) |
| removes a constraint link to the grid object. | |
| void | unconstrain_object (const Edge *edge) |
| void | unconstrain_object (const Face *face) |
| void | unconstrain_object (const Vertex *vrt) |
| virtual | ~ConstrainingFace () |
Public Member Functions inherited from ug::Face | |
| virtual int | base_object_id () const |
| virtual bool | collapse_edge (std::vector< Face * > &vNewFacesOut, int edgeIndex, Vertex *newVertex, Vertex **pSubstituteVertices=NULL) |
| virtual bool | collapse_edges (std::vector< Face * > &vNewFacesOut, std::vector< Vertex * > &vNewEdgeVertices, Vertex **pSubstituteVertices=NULL) |
| virtual int | container_section () const |
| virtual Edge * | create_edge (int index) |
| create the edge with index i and return it. | |
| virtual void | create_faces_by_edge_split (int splitEdgeIndex, Vertex *newVertex, std::vector< Face * > &vNewFacesOut, Vertex **pSubstituteVertices=NULL) |
| virtual EdgeDescriptor | edge_desc (int index) const |
| returns the i-th edge of the face. | |
| virtual void | edge_desc (int index, EdgeDescriptor &edOut) const |
| returns the i-th edge of the face. | |
| int | get_local_side_index (EdgeVertices *e) const |
| returns the local index of the specified edge. | |
| virtual std::pair< GridBaseObjectId, int > | get_opposing_object (Vertex *vrt) const |
| returns an index to the obbject, which lies on the opposite side of the face to the given vertex. | |
| virtual bool | get_opposing_side (EdgeVertices *e, EdgeDescriptor &edOut) const |
| retrieves the edge-descriptor for the opposing side to the specified one. | |
| virtual bool | is_regular_ref_rule (int edgeMarks) const |
| returns true if the specified edgeMarks would lead to a regular refinement | |
| uint | num_edges () const |
| uint | num_sides () const |
| virtual ReferenceObjectID | reference_object_id () const |
| virtual bool | refine (std::vector< Face * > &vNewFacesOut, Vertex **newFaceVertexOut, Vertex **newEdgeVertices, Vertex *newFaceVertex=NULL, Vertex **pSubstituteVertices=NULL, int snapPointIndex=-1) |
| virtual | ~Face () |
Public Member Functions inherited from ug::GridObject | |
| virtual GridObject * | create_empty_instance () const |
| create an instance of the derived type | |
| uint | grid_data_index () const |
| Returns the grid attachment data index of a geometric object. | |
| virtual bool | is_constrained () const |
| returns true if the object is constrained by other objects. | |
| virtual | ~GridObject () |
Public Member Functions inherited from ug::FaceVertices | |
| virtual size_t | num_vertices () const |
| Vertex * | operator[] (size_t index) const |
| returns the i-th vertex. | |
| size_t | size () const |
| returns the number of vertices. | |
| virtual Vertex * | vertex (size_t index) const |
| virtual ConstVertexArray | vertices () const |
| virtual | ~FaceVertices () |
Public Member Functions inherited from ug::IVertexGroup | |
| Vertex * | operator[] (size_t index) const |
| returns the i-th vertex. | |
| size_t | size () const |
| returns the number of vertices. | |
| virtual | ~IVertexGroup () |
Static Public Member Functions | |
| static bool | type_match (GridObject *pObj) |
Static Public Member Functions inherited from ug::Face | |
| static bool | type_match (GridObject *pObj) |
Protected Attributes | |
| std::vector< Edge * > | m_constrainedEdges |
| std::vector< Face * > | m_constrainedFaces |
| std::vector< Vertex * > | m_constrainedVertices |
Protected Attributes inherited from ug::GridObject | |
| uint | m_gridDataIndex |
Additional Inherited Members | |
Public Types inherited from ug::Face | |
| typedef Face | grid_base_object |
| typedef Volume | higher_dim_base_object |
| typedef Edge | lower_dim_base_object |
| typedef Edge | side |
| typedef Volume | sideof |
Public Types inherited from ug::IVertexGroup | |
| typedef Vertex *const * | ConstVertexArray |
Static Public Attributes inherited from ug::Face | |
| static const int | BASE_OBJECT_ID = FACE |
| static const bool | CAN_BE_SIDE = true |
| static const int | dim = 2 |
| reference dimension | |
| static const bool | HAS_SIDES = true |
Protected Member Functions inherited from ug::Face | |
| virtual void | set_vertex (uint index, Vertex *pVrt) |
Protected Member Functions inherited from ug::GridObject | |
| void | set_grid_data_index (uint index) |
| ATTENTION: Use this method with extreme care! | |
This class is used to store constrained geometric objects.
Please note, that the user is has to link and unlink constrained objects manually.
|
inlinevirtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| Vertex * ug::ConstrainingFace::constrained | ( | size_t | ind | ) | const |
References constrained_vertex().
| Edge * ug::ConstrainingFace::constrained | ( | size_t | ind | ) | const |
References constrained_edge().
| Face * ug::ConstrainingFace::constrained | ( | size_t | ind | ) | const |
References constrained_face().
| TElem * ug::ConstrainingFace::constrained | ( | size_t | ind | ) | const |
|
inline |
References UG_ASSERT.
Referenced by ug::HangingNodeRefinerBase< TSelector >::assign_hnode_marks(), constrained(), and ug::SelectAssociatedConstrainedElements().
|
inline |
References UG_ASSERT.
Referenced by ug::HangingNodeRefinerBase< TSelector >::assign_hnode_marks(), ug::CollectConstraining(), constrained(), and ug::SelectAssociatedConstrainedElements().
|
inline |
|
inline |
References ug::find().
|
inline |
References ug::find().
|
inline |
References ug::find().
Referenced by ug::CheckHangingNodeConsistency().
|
inlinevirtual |
returns the id of the reference-object.
returns true if the object constrains other objects. This is normally only the case for special constraining objects. The default implementation returns false.
Reimplemented from ug::GridObject.
| size_t ug::ConstrainingFace::num_constrained | ( | ) | const |
References num_constrained_vertices().
| size_t ug::ConstrainingFace::num_constrained | ( | ) | const |
References num_constrained_edges().
| size_t ug::ConstrainingFace::num_constrained | ( | ) | const |
References num_constrained_faces().
| size_t ug::ConstrainingFace::num_constrained | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
removes a constraint link to the grid object.
This method is e.g. called on the constraining edges of a constrained vertex as soon as the constrained vertex is deleted.
Reimplemented from ug::GridObject.
|
inlinevirtual |
removes a constraint link to the grid object.
This method is e.g. called on the constraining edges of a constrained vertex as soon as the constrained vertex is deleted.
Reimplemented from ug::GridObject.
|
inlinevirtual |
removes a constraint link to the grid object.
This method is e.g. called on the constraining edges of a constrained vertex as soon as the constrained vertex is deleted.
Reimplemented from ug::GridObject.
|
inlinestatic |
|
inline |
References ug::find().
|
inline |
References ug::find().
|
inline |
References ug::find().
|
protected |
|
protected |
|
protected |