This structure is used to compute the point on a spline closest to another point.
More...
#include <Splines.hpp>
|
| | FuncDistanceFromAPoint (const Splines &splines, UInt splineIndex, Point point) |
| | Constructor.
|
| |
|
double | operator() (double adimensionalDistanceReferencePoint) const |
| | This is the function we want to find the root of.
|
| |
|
|
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.
◆ FuncDistanceFromAPoint()
| meshkernel::FuncDistanceFromAPoint::FuncDistanceFromAPoint |
( |
const Splines & |
splines, |
|
|
UInt |
splineIndex, |
|
|
Point |
point |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
| [in] | splines | A pointer to splines |
| [in] | splineIndex | The index of the current spline |
| [in] | point | The point from where the distance is calculated |
The documentation for this struct was generated from the following file:
- /home/runner/work/MeshKernel/MeshKernel/libs/MeshKernel/include/MeshKernel/Splines.hpp