BspKnotLastIndexLE

Section: C Library Functions (3)
Updated: IRIT Version 6.0
Index Return to Main Contents
 

NAME

BspKnotLastIndexLE()  

SYNOPSIS

cagd_lib/bsp_knot.c:229

int BspKnotLastIndexLE(CagdRType *KnotVector, int Len, CagdRType t)
 

DESCRIPTION

Returns the index of the last knot which is less than or equal to t in the given knot vector KnotVector of length Len. APX_EQ_EPS is used in equality. Parameter t is assumed to be in the parametric domain for the knot vector.  

PARAMETERS:

KnotVector: To search for a knot with the LE relation to t.

Len: Of knot vector. This is not the length of the curve/surface using this KnotVector.

t: The parameter value to search for the LE relation.  

FUNCTION RETURN VALUE

int: Index of last knot in KnotVector that is LE t, or -1 if t is below the first knot.

 

ORIGIN

(C) Copyright 1989/90-95 Gershon Elber, Technion, IIT


 

Index

NAME
SYNOPSIS
DESCRIPTION
PARAMETERS:
FUNCTION RETURN VALUE
ORIGIN

This document was created by man2html, using the manual pages.
Time: 07:27:27 GMT, July 20, 2024