CagdCrvEvalToPolyline
Section: C Library Functions (3)
Updated: IRIT Version 6.0
Index
Return to Main Contents
NAME
CagdCrvEvalToPolyline()
SYNOPSIS
cagd_lib/cbspeval.c:134
int CagdCrvEvalToPolyline(CagdCrvStruct *Crv,
int FineNess,
CagdRType *Points[],
BspKnotAlphaCoeffType *A,
CagdBType OptiLin)
DESCRIPTION
Samples the curve at FineNess location equally spaced in the curve's
parametric domain.
Computes a refinement alpha matrix (If FineNess > 0), refines the curve
and uses refined control polygon as the approximation to the curve.
If FineNess == 0, Alpha matrix A is used instead.
Returns the actual number of points in polyline (<= FineNess).
Note this routine may be invoked with Bezier curves as well as Bspline.
PARAMETERS:
Crv: To approximate as a polyline.
FineNess: Control on number of samples.
Points: Where to put the resulting polyline.
A: Optional alpha matrix for refinement.
OptiLin: If TRUE, optimize linear curves.
FUNCTION RETURN VALUE
int: The actual number of samples placed in Points. Always
less than or eaul to FineNess.
SEE ALSO
BzrCrvEvalToPolyline,
AfdBzrCrvEvalToPolyline,
CagdCrvEval,
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:17 GMT, October 17, 2022