Virtual Photonics
Assembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
Int32
knot span where the parametric point belongs
Searches for the knot span where the parametric point lies, with a classic
binary search.If the point is larger then the last knot element returns the last span index
to evaluate the value of a point on the edge of the surface, which is later used for derivative
extrapolation.
Adapted from algorithm 2.1 from 'The NURBS Book' page 68.
Namespace: Vts.Modeling.ForwardSolversAssembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
Syntax
Parameters
- nurbsValues
- Type: Vts.Modeling.ForwardSolvers NurbsValues
NurbsValues class which contains the knot,degree and control points
- parametricPoint
- Type:
System Double
parametric point
Return Value
Type:
knot span where the parametric point belongs
Exceptions
Exception | Condition |
---|---|
![]() | Thrown when the input parametric point is negative |
See Also