The SKIRT project
advanced radiative transfer for astrophysics
Public Member Functions | Protected Member Functions | List of all members
VoronoiMeshInterface Class Referenceabstract

#include <VoronoiMeshInterface.hpp>

Inheritance diagram for VoronoiMeshInterface:
Inheritance graph
[legend]

Public Member Functions

virtual ~VoronoiMeshInterface ()
 
virtual VoronoiMeshSnapshotvoronoiMesh () const =0
 

Protected Member Functions

 VoronoiMeshInterface ()
 

Detailed Description

VoronoiMeshInterface is a pure interface. It provides access to the Voronoi mesh snapshot maintained by the object that implements the interface.

Constructor & Destructor Documentation

◆ VoronoiMeshInterface()

VoronoiMeshInterface::VoronoiMeshInterface ( )
inlineprotected

The empty constructor for the interface.

◆ ~VoronoiMeshInterface()

virtual VoronoiMeshInterface::~VoronoiMeshInterface ( )
inlinevirtual

The empty destructor for the interface.

Member Function Documentation

◆ voronoiMesh()

virtual VoronoiMeshSnapshot * VoronoiMeshInterface::voronoiMesh ( ) const
pure virtual

This function must be implemented in a derived class. It returns a pointer to the Voronoi mesh snapshot maintained by the object that implements the interface.

Implemented in VoronoiMeshGeometry, and VoronoiMeshMedium.


The documentation for this class was generated from the following file: