BzrApproxBzrCrvAsCubics
Section: C Library Functions (3)
Updated: IRIT Version 6.0
Index
Return to Main Contents
NAME
BzrApproxBzrCrvAsCubics()
SYNOPSIS
symb_lib/bzr_sym.c:415
CagdCrvStruct *BzrApproxBzrCrvAsCubics(CagdCrvStruct *Crv,
CagdRType Tol,
CagdRType MaxLen,
CagdBType NoRational)
DESCRIPTION
Given a Bezier curve - convert it to (possibly) piecewise cubic.
If the curve is
1. A cubic - a copy if it is returned.
2. Lower than cubic - a degree raised (to a cubic) curve is returned.
3. Higher than cubic - a C^1 continuous piecewise cubic approximation
is computed for Crv.
In case 3 a list of polynomial cubic curves is returned. Tol is then used
for the distance tolerance error measure for the approximation.
If, however, NoRational is set, rational curves of any order will also
be approximated using cubic polynomials.
Furthermore if the total length of control polygon is more than MaxLen,
the curve is subdivided until this is not the case.
PARAMETERS:
Crv: To approximate using cubic Bezier polynomials.
Tol: Accuracy control.
MaxLen: Maximum arc length of curve.
NoRational: Do we want to approximate rational curves as well?
FUNCTION RETURN VALUE
CagdCrvStruct *: A list of cubic Bezier polynomials approximating Crv.
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:26:45 GMT, July 20, 2024