ug4
|
Concrete types share this base-type. It is not intended for direct use. More...
#include <grid_objects_2d.h>
Public Member Functions | |
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 GridObject * | create_empty_instance () const |
virtual void | create_faces_by_edge_split (int splitEdgeIndex, Vertex *newVertex, std::vector< Face * > &vNewFacesOut, Vertex **pSubstituteVertices=NULL) |
CustomTriangle () | |
CustomTriangle (const TriangleDescriptor &td) | |
CustomTriangle (Vertex *v1, Vertex *v2, Vertex *v3) | |
virtual EdgeDescriptor | edge_desc (int index) const |
virtual void | edge_desc (int index, EdgeDescriptor &edOut) const |
virtual std::pair< GridBaseObjectId, int > | get_opposing_object (Vertex *vrt) const |
virtual bool | is_regular_ref_rule (int edgeMarks) const |
virtual size_t | num_vertices () 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) |
Refines a Triangle by inserting new vertices. | |
virtual Vertex * | vertex (size_t index) const |
virtual Face::ConstVertexArray | vertices () const |
Static Public Attributes | |
static const size_t | NUM_VERTICES = 3 |
Protected Member Functions | |
virtual void | set_vertex (uint index, Vertex *pVrt) |
Protected Attributes | |
Vertex * | m_vertices [3] |
Concrete types share this base-type. It is not intended for direct use.
BaseClass has to be derived from Face (or simply should be Face). The ConcreteTriangleType is used in methods like refine, etc. as the type of newly created objects.
RefTriType and RefQuadType are used to create new elements during refinement operations.
|
inline |
ug::CustomTriangle< ConcreteTriangleType, BaseClass, RefTriType, RefQuadType >::CustomTriangle | ( | const TriangleDescriptor & | td | ) |
References ug::TriangleDescriptor::vertex().
ug::CustomTriangle< ConcreteTriangleType, BaseClass, RefTriType, RefQuadType >::CustomTriangle | ( | Vertex * | v1, |
Vertex * | v2, | ||
Vertex * | v3 | ||
) |
|
virtual |
|
virtual |
References LOG.
|
inlinevirtual |
|
virtual |
|
inlinevirtual |
|
inlinevirtual |
References ug::EdgeDescriptor::set_vertices().
|
virtual |
References ug::EDGE.
|
virtual |
|
inlinevirtual |
Referenced by ug::WriteLGM().
|
inlinevirtual |
References ug::ROID_TRIANGLE.
|
virtual |
Refines a Triangle by inserting new vertices.
|
inlineprotectedvirtual |
|
inlinevirtual |
|
inlinevirtual |
|
protected |
|
static |