MeshKernel
|
This structure is used to compute the point on a spline closest to another point. More...
#include <Splines.hpp>
Public Member Functions | |
FuncDistanceFromAPoint (const Splines &splines, UInt splineIndex, Point point) | |
Constructor. More... | |
double | operator() (double adimensionalDistanceReferencePoint) const |
This is the function we want to find the root of. | |
Public Attributes | |
const Splines & | m_spline |
Reference to splines. | |
UInt | m_splineIndex |
Spline index. | |
Point | m_point |
The point from where the distance is calculated. | |
double | m_DimensionalDistance = 0.0 |
Dimensional distance. | |
This structure is used to compute the point on a spline closest to another point.
|
inline |
Constructor.
[in] | splines | A pointer to splines |
[in] | splineIndex | The index of the current spline |
[in] | point | The point from where the distance is calculated |