1.4.1
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() [1/2]

Plane::Plane ( )

◆ Plane() [2/2]

Plane::Plane ( const Plane m)

◆ ~Plane()

Plane::~Plane ( )
virtual

Member Function Documentation

◆ getCoor() [1/2]

const VectorDouble& Plane::getCoor ( ) const
inline

◆ getCoor() [2/2]

double Plane::getCoor ( int  idim) const

◆ getIntercept()

double Plane::getIntercept ( ) const
inline

◆ getRndval()

double Plane::getRndval ( ) const
inline

◆ getValue()

double Plane::getValue ( ) const
inline

◆ operator=()

Plane & Plane::operator= ( const Plane m)

◆ poissonPlanesGenerate()

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]

◆ setCoor() [1/2]

void Plane::setCoor ( const VectorDouble coor)
inline

◆ setCoor() [2/2]

void Plane::setCoor ( int  idim,
double  value 
)

◆ setIntercept()

void Plane::setIntercept ( double  intercept)
inline

◆ setRndval()

void Plane::setRndval ( double  rndval)
inline

◆ setValue()

void Plane::setValue ( double  value)
inline

◆ toString()

String Plane::toString ( const AStringFormat strfmt = nullptr) const
overridevirtual

Reimplemented from AStringable.


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