CagdMakeCrvsCompatible
Section: C Library Functions (3)
Updated: IRIT Version 6.0
Index
Return to Main Contents
NAME
CagdMakeCrvsCompatible()
SYNOPSIS
cagd_lib/cagdcmpt.c:37
CagdBType CagdMakeCrvsCompatible(CagdCrvStruct **Crv1,
CagdCrvStruct **Crv2,
CagdBType SameOrder,
CagdBType SameKV)
DESCRIPTION
Given two curves, makes them compatible by:
1. Coercing their point type to be the same.
2. Making them have the same curve type.
3. Raising the degree of the lower one to be the same as the higher.
4. Refining them to a common knot vector (If Bspline and SameOrder).
Note 3 is performed if SameOrder TRUE, 4 if SameKV TRUE.
Both curves are modified IN PLACE.
PARAMETERS:
Crv1, Crv2: Two curves to be made compatible, in place.
SameOrder: If TRUE, this routine make sure they share the same order.
SameKV: If TRUE, this routine make sure they share the same
knot vector and hence continuity. *
FUNCTION RETURN VALUE
CagdBType: TRUE if successful, FALSE otherwise.
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:28:06 GMT, July 20, 2024