VPBSplinesCoefficients ModifyIfNotValid Method Virtual Photonics - VTS Library
Virtual Photonics
If the input value is NaN or Inf it changes it to zero,as defined in the recursive formula used to evaluate the B-splines coefficients.'The NURBS Book' page 51.

Namespace: Vts.Modeling.ForwardSolvers
Assembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
Syntax

public double ModifyIfNotValid(
	double num
)

Parameters

num
Type: OnlineSystem Double
multypling values of the recursive formula

Return Value

Type: OnlineDouble
0 or the input value
See Also