Method GetParameterAtPoint
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
GetParameterAtPoint(GeoPoint3)
Gets the normalised parameter, from 0 to 1, of the point of the spline nearest a point, using the default tolerance.
public double GetParameterAtPoint(GeoPoint3 point)
Parameters
pointGeoPoint3The point; it does not have to lie on the spline.
Returns
- double
The share of the domain: 0 at the start and 1 at the end; GetKnotAtPoint(GeoPoint3) gives the knot value.
GetParameterAtPoint(GeoPoint3, Tolerance)
Gets the normalised parameter, from 0 to 1, of the point of the spline nearest a point, within a tolerance.
public double GetParameterAtPoint(GeoPoint3 point, Tolerance tolerance)
Parameters
pointGeoPoint3The point; it does not have to lie on the spline.
toleranceToleranceThe tolerance; not read, since the nearest point takes none.
Returns
- double
The share of the domain: 0 at the start and 1 at the end.