To store and treat a figure (or shape) information. More...
Inheritance diagram for Figure:
|Default constructor. |
|Figure (const Figure &f)|
|Copy constructor. |
|void||setCode (int code)|
|Choose a code for the domain defined by the figure. |
|virtual real_t||getSignedDistance (const Point< real_t > &p) const|
|Return signed distance from a given point to current figure. More...|
|Figure &||operator= (const Figure &f)|
|Operator =. |
|void||getSignedDistance (const Grid &g, Vect< real_t > &d) const|
|Calculate signed distance to current figure with respect to grid points. More...|
|real_t||dLine (const Point< real_t > &p, const Point< real_t > &a, const Point< real_t > &b) const|
|Compute signed distance from a line. More...|
To store and treat a figure (or shape) information.
This class is essentially useful to construct data for mesh generators and for distance calculations.