#include <setofpoints.hxx>
Inheritance diagram for Multivac::CSetOfPoints< T >:
Public Member Functions | |
CSetOfPoints () | |
Default constructor. | |
CSetOfPoints (Curve< T > &InitialFront) | |
Main constructor. | |
CSetOfPoints (string InitialFrontFile, int orientation, bool origin_out_) | |
Main constructor. | |
~CSetOfPoints () 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) |
Returns the closest mesh-point of the projection of (x, y) on the curve. | |
virtual void | Save (string CurveFile) const |
Saves the circle. | |
Protected Attributes | |
Curve< T > | Front |
bool | origin_out |
|
Main constructor. Defines circle properties.
|
|
Main constructor. Defines circle properties.
|
|
Returns the distance from a given point to the circle.
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 the circle.
Implements Multivac::CInitialCurve< T >. |
|
Updates the level set function Phi by setting distances to the circle.
Implements Multivac::CInitialCurve< T >. |