1.2.2
CCC
 
Plane Class Reference

#include <Plane.hpp>

Inheritance diagram for Plane:
AStringable

Public Member Functions

 Plane ()
 
 Plane (const Plane &m)
 
Planeoperator= (const Plane &m)
 
virtual ~Plane ()
 
virtual String toString (const AStringFormat *strfmt=nullptr) const override
 
const VectorDoublegetCoor () const
 
void setCoor (const VectorDouble &coor)
 
double getIntercept () const
 
void setIntercept (double intercept)
 
double getRndval () const
 
void setRndval (double rndval)
 
double getValue () const
 
void setValue (double value)
 
void setCoor (int idim, double value)
 
double getCoor (int idim) const
 
- Public Member Functions inherited from AStringable
 AStringable ()
 
 AStringable (const AStringable &r)
 
AStringableoperator= (const AStringable &r)
 
virtual ~AStringable ()
 
virtual void display (const AStringFormat *strfmt=nullptr) const final
 
virtual void display (int level) const final
 

Static Public Member Functions

static std::vector< PlanepoissonPlanesGenerate (DbGrid *dbgrid, int np)
 

Constructor & Destructor Documentation

Plane::Plane ( )
Plane::Plane ( const Plane m)
Plane::~Plane ( )
virtual

Member Function Documentation

const VectorDouble& Plane::getCoor ( ) const
inline
double Plane::getCoor ( int  idim) const
double Plane::getIntercept ( ) const
inline
double Plane::getRndval ( ) const
inline
double Plane::getValue ( ) const
inline
Plane & Plane::operator= ( const Plane m)
std::vector< Plane > Plane::poissonPlanesGenerate ( DbGrid dbgrid,
int  np 
)
static

Generate the Poisson planes that cover the grid

Parameters
[in]dbgridDb corresponding to the target grid
[in]npNumber of planes
Remarks
The array 'planes' contains successively a,b,c,d such that
ax + by + cz + d = 0
The valuation of each line is assigned a uniform value [0,1]
void Plane::setCoor ( const VectorDouble coor)
inline
void Plane::setCoor ( int  idim,
double  value 
)
void Plane::setIntercept ( double  intercept)
inline
void Plane::setRndval ( double  rndval)
inline
void Plane::setValue ( double  value)
inline
String Plane::toString ( const AStringFormat strfmt = nullptr) const
overridevirtual

Reimplemented from AStringable.


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