BspCrvInterpPts

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

NAME

BspCrvInterpPts()  

SYNOPSIS

cagd_lib/cbsp_int.c:44

CagdCrvStruct *BspCrvInterpPts(CagdPtStruct *PtList,
                               int Order,
                               int CrvSize,
                               CagdParametrizationType ParamType,
                               CagdBType Periodic)
 

DESCRIPTION

Given a set of points, PtList, computes a Bspline curve of order Order that interpolates or least square approximates the set of points. The size of the control polygon of the resulting Bspline curve defaults to the number of points in PtList (if CrvSize = 0). However, this number is can smaller to yield a least square approximation. The created curve can be parametrized as specified by ParamType.  

PARAMETERS:

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

Order: Of interpolating/approximating curve.

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

ParamType: Type of parametrization.

Periodic: Constructed curve should be Periodic. Periodic necessitates uniform knot sequence in ParamType.  

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