#include <circle.hxx>
Inheritance diagram for Multivac::CCircle< T >:

Public Member Functions | |
| CCircle () throw () | |
| Default constructor. | |
| CCircle (T CenterX_, T CenterY_, T Radius_, bool reversed_=false) throw () | |
| Main constructor. | |
| ~CCircle () throw () | |
| Destructor. | |
| virtual void | SetDistances (CMesh< T > &Mesh, CLevelSet< T > &Phi) |
| Updates the level set function Phi by setting distances to the circle. | |
| virtual T | GetDistance (T x, T y) |
| Returns the distance from a given point to the circle. | |
| virtual void | GetProjectionOnMesh (T &x, T &y, CMesh< T > &Mesh) |
| virtual void | Save (string CurveFile) const |
| Saves the circle. | |
Protected Attributes | |
| T | CenterX |
| T | CenterY |
| T | Radius |
|
||||||||||||||||||||||||
|
Main constructor. Defines circle properties.
|
|
||||||||||||||||
|
Returns the distance from a given point to the circle.
Implements Multivac::CInitialCurve< T >. |
|
||||||||||||||||||||
|
Let A = (x, y). Let B be the projection of A on the circle. 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 the circle.
Implements Multivac::CInitialCurve< T >. |
|
||||||||||||||||
|
Updates the level set function Phi by setting distances to the circle.
Implements Multivac::CInitialCurve< T >. |
1.4.0