ViennaLS
Loading...
Searching...
No Matches
PylsGeometricAdvectDistribution< D > Class Template Referenceabstract

#include <pyWrap.hpp>

Inheritance diagram for PylsGeometricAdvectDistribution< D >:
viennals::GeometricAdvectDistribution< T, D >

Public Member Functions

bool isInside (const vectorType &initial, const vectorType &candidate, double eps=0.) const override
T getSignedDistance (const vectorType &initial, const vectorType &candidate, unsigned long initialPointId) const override
boundsType getBounds () const override
 Sets bounds to the bounding box of the distribution.
virtual bool isInside (const Vec3D< viennahrle::CoordType > &initial, const Vec3D< viennahrle::CoordType > &candidate, double eps) const
 Quick check whether a point relative to the distributions center is inside the distribution. If there is no quick check due to the complexity of the distribution, always return true or do not overload this function.
virtual T getSignedDistance (const Vec3D< viennahrle::CoordType > &initial, const Vec3D< viennahrle::CoordType > &candidate, unsigned long initialPointId) const =0
 Returns the signed distance of a point relative to the distributions center. This is the signed manhatten distance to the nearest surface point.

Member Function Documentation

◆ getBounds()

template<int D>
boundsType PylsGeometricAdvectDistribution< D >::getBounds ( ) const
inlineoverridevirtual

Sets bounds to the bounding box of the distribution.

Implements viennals::GeometricAdvectDistribution< T, D >.

◆ getSignedDistance() [1/2]

template<int D>
T PylsGeometricAdvectDistribution< D >::getSignedDistance ( const vectorType & initial,
const vectorType & candidate,
unsigned long initialPointId ) const
inlineoverride

◆ getSignedDistance() [2/2]

template<class T, int D>
virtual T viennals::GeometricAdvectDistribution< T, D >::getSignedDistance ( const Vec3D< viennahrle::CoordType > & initial,
const Vec3D< viennahrle::CoordType > & candidate,
unsigned long initialPointId ) const
pure virtualinherited

Returns the signed distance of a point relative to the distributions center. This is the signed manhatten distance to the nearest surface point.

Implemented in viennals::BoxDistribution< T, D >, and viennals::SphereDistribution< T, D >.

◆ isInside() [1/2]

template<int D>
bool PylsGeometricAdvectDistribution< D >::isInside ( const vectorType & initial,
const vectorType & candidate,
double eps = 0. ) const
inlineoverride

◆ isInside() [2/2]

template<class T, int D>
virtual bool viennals::GeometricAdvectDistribution< T, D >::isInside ( const Vec3D< viennahrle::CoordType > & initial,
const Vec3D< viennahrle::CoordType > & candidate,
double eps ) const
inlinevirtualinherited

Quick check whether a point relative to the distributions center is inside the distribution. If there is no quick check due to the complexity of the distribution, always return true or do not overload this function.

Reimplemented in viennals::BoxDistribution< T, D >, and viennals::SphereDistribution< T, D >.


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