AfdComputePolyline

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

NAME

AfdComputePolyline()  

SYNOPSIS

cagd_lib/afd_cube.c:199

void AfdComputePolyline(CagdRType Coef[4],
                        CagdRType *Poly,
                        int Log2Step,
                        CagdBType NonAdaptive)
 

DESCRIPTION

Given four coefficents of a cubic Bezier curve, computes the four coefficients of the cubic afd basis functions and step along them to create a piecewise polynomial approximating the curve. If NonAdaptive is TRUE then 2^Log2Step constant steps are taken, creating 2^Log2Step + 1 points along the curve. Otherwise the full blown adaptive algorithm is used.  

PARAMETERS:

Coef: Four coefficients of a cubic Bezier curve.

Poly: Where to put the polyline computed.

Log2Step: How many steps to take (2 to the power of this).

NonAdaptive: if TRUE, ignore the adaptive option.  

FUNCTION RETURN VALUE

void

 

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