BspKnotNodes
Section: C Library Functions (3)
Updated: IRIT Version 6.0
Index
Return to Main Contents
NAME
BspKnotNodes()
SYNOPSIS
cagd_lib/bsp_knot.c:861
CagdRType *BspKnotNodes(CagdRType *KnotVector, int Len, int Order)
DESCRIPTION
Creates a new vector with the given KnotVector Node values. The given
knot vector is assumed to have open end conditions.
The nodes are the approximated parametric value associated with the each
control point. Therefore for a knot vector of length Len and order Order
there are Len - Order control points and therefore nodes.
Nodes are defined as (k = Order - 1 or degree):
i+k
- First Node N(i = 0)
\
/ KnotVector(j) Last Node N(i = Len - k - 2)
-
j=i+1
N(i) = -----------------
k
See also BspKnotAverage.
PARAMETERS:
KnotVector: To average out as nodes.
Len: Length of KnotVector. This is not the length of the
curve or surface using this knot vector.
Order: Of curve or surface that exploits this knot vector.
FUNCTION RETURN VALUE
CagdRType *: The nodes computed for the given knot vector.
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:28:19 GMT, July 20, 2024