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. | |
| virtual Connector1 * | newEdge (const InfiniteQuad &q, uint i) const |
| Returns the ith edge which has been newly created by the subdivision. | |
| virtual Vertex * | newVertex (const InfiniteQuad &q, uint i) const |
| Return the ith vertex which has been newly created by the subdivision. | |
| virtual void | removeChildren (InfiniteQuad &q) const |
| If there are children, they are removed. | |
| 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. | |
Static Private Attributes | |
| static std::auto_ptr < InfQuadSubdiv2V > | instance_ |
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 180 of file quadsubdiv.hh.
| virtual concepts::InfQuadSubdiv2V::~InfQuadSubdiv2V | ( | ) | [virtual] |
| virtual void concepts::InfQuadSubdiv2V::createChildren | ( | InfiniteQuad & | q | ) | const [virtual] |
If no children of q exist, they are created.
Implements concepts::InfQuadSubdivision.
| virtual std::ostream& concepts::InfQuadSubdiv2V::info | ( | std::ostream & | os | ) | const [protected, virtual] |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
| static const InfQuadSubdiv2V* concepts::InfQuadSubdiv2V::instance | ( | ) | [static] |
| virtual Connector1* concepts::InfQuadSubdiv2V::newEdge | ( | const InfiniteQuad & | q, |
| uint | i | ||
| ) | const [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.
| q | InfiniteQuad which has been refined |
| i | Index of the new edge |
Implements concepts::InfQuadSubdivision.
| virtual Vertex* concepts::InfQuadSubdiv2V::newVertex | ( | const InfiniteQuad & | q, |
| uint | i | ||
| ) | const [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.
| q | InfiniteQuad which has been refined |
| i | Index of the new vertex |
Implements concepts::InfQuadSubdivision.
| virtual void concepts::InfQuadSubdiv2V::removeChildren | ( | InfiniteQuad & | q | ) | const [virtual] |
If there are children, they are removed.
The additional edges and vertices are removed as well.
Implements concepts::InfQuadSubdivision.
std::auto_ptr<InfQuadSubdiv2V> concepts::InfQuadSubdiv2V::instance_ [static, private] |
Definition at line 191 of file quadsubdiv.hh.