Subdivision strategy for quadrilaterals which generates four children. More...
#include <cell2D.hh>


Public Member Functions | |
| virtual void | createChildren (Quad2d &q) const |
| If no children of q exist, they are created. | |
| virtual void | removeChildren (Quad2d &q) const |
| If there are children, they are removed. | |
| virtual const QuadSubdiv4 * | topologicalStrategy () const |
| Returns the respective topological subdivision strategy. | |
| virtual | ~Quad2dSubdiv4 () |
Static Public Member Functions | |
| static const Quad2dSubdiv4 * | instance () |
Protected Member Functions | |
| virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
Static Private Attributes | |
| static std::auto_ptr < Quad2dSubdiv4 > | instance_ |
Subdivision strategy for quadrilaterals which generates four children.
This is the default subdivision strategy.
The children are generated subdividing the four edges and introducing four new edges meeting in the middle of the parent quad.
| virtual concepts::Quad2dSubdiv4::~Quad2dSubdiv4 | ( | ) | [virtual] |
| virtual void concepts::Quad2dSubdiv4::createChildren | ( | Quad2d & | q | ) | const [virtual] |
If no children of q exist, they are created.
Implements concepts::Quad2dSubdivision.
| virtual std::ostream& concepts::Quad2dSubdiv4::info | ( | std::ostream & | os | ) | const [protected, virtual] |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
| static const Quad2dSubdiv4* concepts::Quad2dSubdiv4::instance | ( | ) | [static] |
| virtual void concepts::Quad2dSubdivision::removeChildren | ( | Quad2d & | q | ) | const [virtual, inherited] |
If there are children, they are removed.
| virtual const QuadSubdiv4* concepts::Quad2dSubdiv4::topologicalStrategy | ( | ) | const [virtual] |
Returns the respective topological subdivision strategy.
Implements concepts::Quad2dSubdivision.
std::auto_ptr<Quad2dSubdiv4> concepts::Quad2dSubdiv4::instance_ [static, private] |