gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
gLevelsetPlane Class Reference

#include <gmshLevelset.h>

Inheritance diagram for gLevelsetPlane:
Collaboration diagram for gLevelsetPlane:

Public Member Functions

 gLevelsetPlane (const double _a, const double _b, const double _c, const double _d, int tag=0)
 
 gLevelsetPlane (const std::vector< double > &pt, const std::vector< double > &norm, int tag=0)
 
 gLevelsetPlane (const double *pt, const double *norm, int tag=0)
 
 gLevelsetPlane (const double *pt1, const double *pt2, const double *pt3, int tag=0)
 
 gLevelsetPlane (const gLevelsetPlane &lv)
 
virtual gLevelsetclone () const
 
virtual double operator() (double x, double y, double z) const
 
int type () const
 
- Public Member Functions inherited from gLevelsetPrimitive
 gLevelsetPrimitive ()
 
 gLevelsetPrimitive (const gLevelsetPrimitive &lv)
 
 gLevelsetPrimitive (int tag)
 
std::vector< gLevelset * > getChildren () const
 
double choose (double d1, double d2) const
 
virtual bool isPrimitive () const
 
- Public Member Functions inherited from gLevelset
 gLevelset (int tag=0)
 
 gLevelset (const gLevelset &)
 
virtual ~gLevelset ()
 
bool isInsideDomain (const double &x, const double &y, const double &z) const
 
bool isOutsideDomain (const double &x, const double &y, const double &z) const
 
bool isOnBorder (const double &x, const double &y, const double &z) const
 
void setTag (int t)
 
virtual int getTag () const
 
void getPrimitives (std::vector< gLevelset * > &primitives)
 
void getPrimitivesPO (std::vector< gLevelset * > &primitives)
 
void getRPN (std::vector< gLevelset * > &gLsRPN)
 
double H (const double &x, const double &y, const double &z) const
 
void print () const
 
- Public Member Functions inherited from simpleFunction< double >
 simpleFunction (double val=0.0)
 
virtual ~simpleFunction ()
 
virtual bool hasDerivatives ()
 
virtual void setElement (MElement *e) const
 
virtual void gradient (double x, double y, double z, double &dfdx, double &dfdy, double &dfdz) const
 
virtual void hessian (double x, double y, double z, double &dfdxx, double &dfdxy, double &dfdxz, double &dfdyx, double &dfdyy, double &dfdyz, double &dfdzx, double &dfdzy, double &dfdzz) const
 

Protected Attributes

double a
 
double b
 
double c
 
double d
 
- Protected Attributes inherited from gLevelset
int tag_
 
- Protected Attributes inherited from simpleFunction< double >
double _val
 
bool _hasDerivatives
 

Additional Inherited Members

- Static Public Member Functions inherited from gLevelset
static gLevelsetfind (int tag)
 
static void add (gLevelset *l)
 
- Static Protected Attributes inherited from gLevelset
static const short insideDomain = -1
 
static int maxTag_ = 0
 
static std::set< gLevelset *, gLevelsetLessThanall_
 

Detailed Description

Definition at line 187 of file gmshLevelset.h.

Constructor & Destructor Documentation

◆ gLevelsetPlane() [1/5]

gLevelsetPlane::gLevelsetPlane ( const double  _a,
const double  _b,
const double  _c,
const double  _d,
int  tag = 0 
)
inline

Definition at line 193 of file gmshLevelset.h.

Referenced by clone().

Here is the caller graph for this function:

◆ gLevelsetPlane() [2/5]

gLevelsetPlane::gLevelsetPlane ( const std::vector< double > &  pt,
const std::vector< double > &  norm,
int  tag = 0 
)

Definition at line 390 of file gmshLevelset.cpp.

Here is the call graph for this function:

◆ gLevelsetPlane() [3/5]

gLevelsetPlane::gLevelsetPlane ( const double *  pt,
const double *  norm,
int  tag = 0 
)

Definition at line 400 of file gmshLevelset.cpp.

Here is the call graph for this function:

◆ gLevelsetPlane() [4/5]

gLevelsetPlane::gLevelsetPlane ( const double *  pt1,
const double *  pt2,
const double *  pt3,
int  tag = 0 
)

Definition at line 409 of file gmshLevelset.cpp.

Here is the call graph for this function:

◆ gLevelsetPlane() [5/5]

gLevelsetPlane::gLevelsetPlane ( const gLevelsetPlane lv)

Definition at line 420 of file gmshLevelset.cpp.

Member Function Documentation

◆ clone()

virtual gLevelset* gLevelsetPlane::clone ( ) const
inlinevirtual

Reimplemented from gLevelset.

Definition at line 208 of file gmshLevelset.h.

Here is the call graph for this function:

◆ operator()()

virtual double gLevelsetPlane::operator() ( double  x,
double  y,
double  z 
) const
inlinevirtual

Implements gLevelsetPrimitive.

Definition at line 210 of file gmshLevelset.h.

◆ type()

int gLevelsetPlane::type ( ) const
inlinevirtual

Implements gLevelsetPrimitive.

Definition at line 214 of file gmshLevelset.h.

Member Data Documentation

◆ a

double gLevelsetPlane::a
protected

Definition at line 189 of file gmshLevelset.h.

Referenced by gLevelsetPlane(), and operator()().

◆ b

double gLevelsetPlane::b
protected

Definition at line 189 of file gmshLevelset.h.

Referenced by gLevelsetPlane(), and operator()().

◆ c

double gLevelsetPlane::c
protected

Definition at line 189 of file gmshLevelset.h.

Referenced by gLevelsetPlane(), and operator()().

◆ d

double gLevelsetPlane::d
protected

Definition at line 189 of file gmshLevelset.h.

Referenced by gLevelsetPlane(), and operator()().


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