#include <quadsubdiv.hh>
Public Member Functions | |
virtual void | createChildren (Quad &q) const |
virtual void | removeChildren (Quad &q) const |
virtual Edge * | newEdge (const Quad &q, uint i) const |
virtual Vertex * | newVertex (const Quad &q, uint i) const |
Static Public Member Functions | |
static const QuadSubdiv2V * | instance () |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. | |
Subdivision strategy for quadrilaterals which generates two children.
The parent quad's horizontal axis is subdivided, the vertical is not.
Definition at line 117 of file quadsubdiv.hh.
If no children of q exist, they are created.
Implements concepts::QuadSubdivision.
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
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.
Implements concepts::QuadSubdivision.
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.
Implements concepts::QuadSubdivision.
If there are children, they are removed. The additional edges and vertices are removed as well.
Implements concepts::QuadSubdivision.