AfdBzrCrvEvalToPolyline
Section: C Library Functions (3)
Updated: IRIT Version 6.0
Index
Return to Main Contents
NAME
AfdBzrCrvEvalToPolyline()
SYNOPSIS
cagd_lib/afd_cube.c:245
void AfdBzrCrvEvalToPolyline(CagdCrvStruct *Crv,
int FineNess,
CagdRType *Points[])
DESCRIPTION
Samples the curves at FineNess location equally spaced in the Bezier
parametric domain [0..1]. If Cache is enabled, and FineNess is power of
two, upto or equal to CacheFineNess, the cache is used, otherwise the
points are evaluated manually for each of the samples.
Data is saved at the Points array of vectors (according to Curve PType),
each vector is assumed to be allocated for FineNess CagdRType points.
Bezier curve must be cubic.
PARAMETERS:
Crv: A cubic Bezier curve to piecewuise linear sample using AFD.
FineNess: Of samples.
Points: Whre to put the piecewise linear approximation.
FUNCTION RETURN VALUE
void
SEE ALSO
BzrCrvEvalToPolyline,
ORIGIN
(C) Copyright 1989/90-95 Gershon Elber, Technion, IIT
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- PARAMETERS:
-
- FUNCTION RETURN VALUE
-
- SEE ALSO
-
- ORIGIN
-
This document was created by
man2html,
using the manual pages.
Time: 07:27:40 GMT, July 20, 2024