Skip to content
ForCADDocumentation

active_span_count Function

public pure function active_span_count(knot, nc, degree) result(nspan)

Count positive-length knot spans in the active interval. Repeated knots do not create zero-measure elements. A valid nondecreasing knot vector is assumed; only degree/count/size metadata is checked.

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(in), contiguous :: knot(:)
integer, intent(in) :: nc
integer, intent(in) :: degree

Return Value integer