BspSrfInterpPts

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

NAME

BspSrfInterpPts()  

SYNOPSIS

cagd_lib/sbsp_int.c:52

CagdSrfStruct *BspSrfInterpPts(CagdPtStruct **PtList,
                               int UOrder,
                               int VOrder,
                               int SrfUSize,
                               int SrfVSize,
                               CagdParametrizationType ParamType)
 

DESCRIPTION

Given a set of points, PtList, computes a Bspline surface of order UOrder by VOrder that interpolates or least square approximates the given set of points. PtList is a NULL terminated array of linked lists of CagdPtStruct structs. All linked lists in PtList must have the same length. U direction of surface is associated with array, V with the linked lists. The size of the control mesh of the resulting Bspline surface defaults to the number of points in PtList (if SrfUSize = SrfVSize = 0). However, either numbers can smaller to yield a least square approximation of the gievn data set. The created curve can be parametrized as specified by ParamType.  

PARAMETERS:

PtList: A NULL terminating array of linked list of points.

UOrder: Of the to be created surface.

VOrder: Of the to be created surface.

SrfUSize: U size of the to be created surface. Must be at least as large as the array PtList.

SrfVSize: V size of the to be created surface. Must be at least as large as the length of each list in PtList.

ParamType: Type of parametrization.  

FUNCTION RETURN VALUE

CagdSrfStruct *: Constructed interpolating/approximating surface.

 

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:17 GMT, October 17, 2022