concepts::InfQuadSubdiv2V Class Reference
Subdivision strategy for infinite quadrilaterals which generates two children which are infinite quadrilaterals as well. More...
#include <quadsubdiv.hh>
Public Member Functions | |
virtual void | createChildren (InfiniteQuad &q) const |
If no children of q exist, they are created. More... | |
virtual Connector1 * | newEdge (const InfiniteQuad &q, uint i) const |
Returns the ith edge which has been newly created by the subdivision. More... | |
virtual Vertex * | newVertex (const InfiniteQuad &q, uint i) const |
Return the ith vertex which has been newly created by the subdivision. More... | |
virtual void | removeChildren (InfiniteQuad &q) const |
If there are children, they are removed. More... | |
virtual | ~InfQuadSubdiv2V () |
Static Public Member Functions | |
static const InfQuadSubdiv2V * | instance () |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. More... | |
Static Private Attributes | |
static std::unique_ptr< InfQuadSubdiv2V > | instance_ |
Detailed Description
Subdivision strategy for infinite quadrilaterals which generates two children which are infinite quadrilaterals as well.
The parent quad's horizontal axis is subdivided, the vertical is not.
Definition at line 182 of file quadsubdiv.hh.
Constructor & Destructor Documentation
◆ ~InfQuadSubdiv2V()
|
virtual |
Member Function Documentation
◆ createChildren()
|
virtual |
If no children of q exist, they are created.
Implements concepts::InfQuadSubdivision.
◆ info()
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
◆ instance()
|
static |
◆ newEdge()
|
virtual |
Returns the ith edge which has been newly created by the subdivision.
An edge which is the result of a refinement is not newly created.
- Parameters
-
q InfiniteQuad which has been refined i Index of the new edge
- Returns
- 0 if the new edge with the index i does not exist
Implements concepts::InfQuadSubdivision.
◆ newVertex()
|
virtual |
Return the ith vertex which has been newly created by the subdivision.
An vertex which is the result of a refinement (ie. of an edge) is not newly created.
- Parameters
-
q InfiniteQuad which has been refined i Index of the new vertex
- Returns
- 0 if the new vertex with the index i does not exist
Implements concepts::InfQuadSubdivision.
◆ removeChildren()
|
virtual |
If there are children, they are removed.
The additional edges and vertices are removed as well.
Implements concepts::InfQuadSubdivision.
Member Data Documentation
◆ instance_
|
staticprivate |
Definition at line 193 of file quadsubdiv.hh.
The documentation for this class was generated from the following file:
- geometry/quadsubdiv.hh