BspCrvInterpolate

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

NAME

BspCrvInterpolate()  

SYNOPSIS

cagd_lib/cbsp_int.c:194

CagdCrvStruct *BspCrvInterpolate(CagdCtlPtStruct *PtList,
                                 int NumPts,
                                 CagdRType *Params,
                                 CagdRType *KV,
                                 int Length,
                                 int Order,
                                 CagdBType Periodic)
 

DESCRIPTION

Given set of points, PtList, parameter values the curve should interpolate or approximate these points, Params, and the expected knot vector, KV, length Length and order Order of the Bspline curve, computes the Bspline curve's coefficients. All points in PtList are assumed of the same type. If Periodic, Order - 1 more constraints (and DOF's) are added so that the first Order - 1 points are the same as the last Order - 1 points.  

PARAMETERS:

PtList: List of points to interpolate/least square approximate.

NumPts: Size of PtList.

Params: At which to interpolate the points in PtList.

KV: Computed knot vector for the constructed curve.

Length: Number of degrees of freedom (control points) of the interpolating/approximating curve.

Order: Of interpolating/approximating curve.

Periodic: Constructed curve should be Periodic.  

FUNCTION RETURN VALUE

CagdCrvStruct *: Constructed interpolating/approximating curve.

 

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:16 GMT, July 20, 2024