SymbCrvAdapOffsetTrim

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

NAME

SymbCrvAdapOffsetTrim()  

SYNOPSIS

symb_lib/offset.c:592

CagdCrvStruct *SymbCrvAdapOffsetTrim(CagdCrvStruct *OrigCrv,
                                     CagdRType OffsetDist,
                                     CagdRType OffsetError,
                                     SymbOffCrvFuncType OffsetAprxFunc,
                                     CagdBType BezInterp)
 

DESCRIPTION

Same function as CagdCrvAdapOffset, but trims the self intersection loops. 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. Third parameter of SymbOffCrvFuncType is optional.

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