Subdivision strategy for quadrilaterals which generates four children. More...

#include <cell2D.hh>

Inheritance diagram for concepts::Quad2dSubdiv4:
concepts::Quad2dSubdivision concepts::OutputOperator

Public Member Functions

virtual void createChildren (Quad2d &q) const
 If no children of q exist, they are created. More...
 
virtual void removeChildren (Quad2d &q) const
 If there are children, they are removed. More...
 
virtual const QuadSubdiv4topologicalStrategy () const
 Returns the respective topological subdivision strategy. More...
 
virtual ~Quad2dSubdiv4 ()
 

Static Public Member Functions

static const Quad2dSubdiv4instance ()
 

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< Quad2dSubdiv4instance_
 

Detailed Description

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.

Author
Philipp Frauenfelder, 2002

Definition at line 306 of file cell2D.hh.

Constructor & Destructor Documentation

◆ ~Quad2dSubdiv4()

virtual concepts::Quad2dSubdiv4::~Quad2dSubdiv4 ( )
virtual

Member Function Documentation

◆ createChildren()

virtual void concepts::Quad2dSubdiv4::createChildren ( Quad2d q) const
virtual

If no children of q exist, they are created.

Implements concepts::Quad2dSubdivision.

◆ info()

virtual std::ostream& concepts::Quad2dSubdiv4::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

◆ instance()

static const Quad2dSubdiv4* concepts::Quad2dSubdiv4::instance ( )
static

◆ removeChildren()

virtual void concepts::Quad2dSubdivision::removeChildren ( Quad2d q) const
virtualinherited

If there are children, they are removed.

◆ topologicalStrategy()

virtual const QuadSubdiv4* concepts::Quad2dSubdiv4::topologicalStrategy ( ) const
virtual

Returns the respective topological subdivision strategy.

Implements concepts::Quad2dSubdivision.

Member Data Documentation

◆ instance_

std::unique_ptr<Quad2dSubdiv4> concepts::Quad2dSubdiv4::instance_
staticprivate

Definition at line 315 of file cell2D.hh.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich