The SKIRT project
advanced radiative transfer for astrophysics
SphericalClumpBVH::Clump Class Reference

#include <SphericalClumpBVH.hpp>

Public Member Functions

 Clump (double x, double y, double z, double r)
Box bounds () const
Position center () const
double radius () const

Private Attributes

double _r
double _x
double _y
double _z

Detailed Description

An instance of this class represents a single spherical clump, defined by its center and radius.

Constructor & Destructor Documentation

◆ Clump()

SphericalClumpBVH::Clump::Clump ( double x,
double y,
double z,
double r )
inline

This constructor initializes the clump to the given center coordinates and radius.

Member Function Documentation

◆ bounds()

Box SphericalClumpBVH::Clump::bounds ( ) const
inline

This function returns the Cartesian bounding box of the clump.

◆ center()

Position SphericalClumpBVH::Clump::center ( ) const
inline

This function returns the center of the clump.

◆ radius()

double SphericalClumpBVH::Clump::radius ( ) const
inline

This function returns the radius of the clump.


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