SymbCrvAdapOffset
Section: C Library Functions (3)
Updated: IRIT Version 6.0
Index
Return to Main Contents
NAME
SymbCrvAdapOffset()
SYNOPSIS
symb_lib/offset.c:461
CagdCrvStruct *SymbCrvAdapOffset(CagdCrvStruct *OrigCrv,
CagdRType OffsetDist,
CagdRType OffsetError,
SymbOffCrvFuncType OffsetAprxFunc,
CagdBType BezInterp)
DESCRIPTION
Given a curve and an offset amount OffsetDist, returns an approximation to
the offset curve by offseting the control polygon in the normal direction.
This function computes an approximation to the offset using
OffsetAprxFunc, measure the error and use it to refine and decrease the
error adaptively.
Bezier curves are promoted to Bsplines curves.
See also: Gershon Elber and Elaine Cohen, "Error Bounded Variable
Distance Offset Operator for Free Form Curves and Surfaces". International
Journal of Computational Geometry & Applications, Vol. 1, Num. 1, March
1991, pp 67-78.
PARAMETERS:
OrigCrv: To approximate its offset curve with distance OffsetDist.
OffsetDist: Amount of offset. Negative denotes other offset direction.
OffsetError: Tolerance control.
OffsetAprxFunc: A function that can be used to approximate an offset
of a curve. If NULL SymbCrvOffset function is selected.
BezInterp: If TRUE, control points are interpolated when the curve is
reduced to a Bezier form. Otherwise, control points are
translated OffsetDist amount only, under estimating the
Offset.
FUNCTION RETURN VALUE
CagdCrvStruct *: An approximation to the offset curve, to within
OffsetError.
SEE ALSO
SymbCrvOffset,
SymbCrvSubdivOffset,
SymbSrfOffset,
SymbSrfSubdivOffset,
,
SymbCrvAdapOffsetTrim,
SymbCrvLeastSquarOffset,
SymbCrvMatchingOffset,
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:29 GMT, July 20, 2024