BspKnotAffineTrans2
Section: C Library Functions (3)
Updated: IRIT Version 6.0
Index
Return to Main Contents
NAME
BspKnotAffineTrans2()
SYNOPSIS
cagd_lib/bsp_knot.c:483
void BspKnotAffineTrans2(CagdRType *KnotVector,
int Len,
CagdRType MinVal,
CagdRType MaxVal)
DESCRIPTION
Applies an affine transformation to the given knot vector. Note affine
transformation on the knot vector does not change the Bspline curve.
Knot vector is translated and scaled so as to span the domain from
MinVal top MaxVal. This works for open end condition curves only.
KV[i] = (KV[i] - KV[0]) * Scale + MinVal,
where Scale = (MaxVal - MinVal) / (KV[Len - 1] - KV[0]).
All transformation as taken place in place.
PARAMETERS:
KnotVector: To affinely transform.
Len: Of knot vector. This is not the length of the curve or
surface using this knot vector.
MinVal, MaxVal: New parametric domain of knot vector.
FUNCTION RETURN VALUE
void
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:27:43 GMT, July 20, 2024