Figure Class Reference
To store and treat a figure (or shape) information. More...
Inheritance diagram for Figure:
Public Member Functions | |
| Figure () | |
| Default constructor. | |
| Figure (const Figure &f) | |
| Copy constructor. | |
| virtual | ~Figure () |
| Destructor. | |
| void | setCode (int code) |
| Choose a code for the domain defined by the figure. | |
| virtual double | getSignedDistance (const Point< double > &p) const |
| Return signed distance from a given point to current figure. | |
| Figure & | operator= (const Figure &f) |
| Operator =. | |
| void | getSignedDistance (const Grid &g, Vect< double > &d) const |
| Calculate signed distance to current figure with respect to grid points. | |
| double | dLine (const Point< double > &p, const Point< double > &a, const Point< double > &b) const |
Detailed Description
To store and treat a figure (or shape) information.
This class is essentially useful to construct data for mesh generators and for distance calculations.
Member Function Documentation
| virtual double getSignedDistance | ( | const Point< double > & | p | ) | const [virtual] |
| void getSignedDistance | ( | const Grid & | g, |
| Vect< double > & | d | ||
| ) | const |
- OFELI
- Figure
Copyright © 1998-2012 Rachid Touzani