#include <twocircles.hxx>
Inheritance diagram for Multivac::CTwoCircles< T >:

Public Member Functions | |
| CTwoCircles () throw () | |
| Default constructor. | |
| CTwoCircles (T CenterX1_, T CenterY1_, T Radius1_, T CenterX2_, T CenterY2_, T Radius2_, bool reversed_=false) throw () | |
| Main constructor. | |
| ~CTwoCircles () throw () | |
| Destructor. | |
| virtual void | SetDistances (CMesh< T > &Mesh, CLevelSet< T > &Phi) |
| Updates the level set function Phi by setting distances to circles. | |
| virtual T | GetDistance (T x, T y) |
| Returns the distance from a given point to circles. | |
| virtual void | GetProjectionOnMesh (T &x, T &y, CMesh< T > &Mesh) |
| Returns the closest mesh-point of the projection of (x, y) on the curve. | |
| virtual void | Save (string CurveFile) const |
| Saves circles. | |
Protected Attributes | |
| T | CenterX1 |
| T | CenterY1 |
| T | CenterX2 |
| T | CenterY2 |
| T | Radius1 |
| T | Radius2 |
|
||||||||||||||||||||||||||||||||||||
|
Main constructor. Defines circles properties.
|
|
||||||||||||||||
|
Returns the distance from a given point to circles.
Implements Multivac::CInitialCurve< T >. |
|
||||||||||||||||||||
|
Returns the closest mesh-point of the projection of (x, y) on the curve. Let A = (x, y). Let B be the projection of A on the curve. Let C be the closest point to B that is on the mesh (included its vertices). On exit, C is returned through x and y: C = (x, y).
Implements Multivac::CInitialCurve< T >. |
|
||||||||||
|
Saves circles.
Implements Multivac::CInitialCurve< T >. |
|
||||||||||||||||
|
Updates the level set function Phi by setting distances to circles.
Implements Multivac::CInitialCurve< T >. |
1.4.0