SymbLclDistCrvLine
Section: C Library Functions (3)
Updated: IRIT Version 6.0
Index
Return to Main Contents
NAME
SymbLclDistCrvLine()
SYNOPSIS
symb_lib/distance.c:241
CagdPtStruct *SymbLclDistCrvLine(CagdCrvStruct *Crv,
CagdLType Line,
CagdRType Epsilon,
CagdBType InterPos,
CagdBType ExtremPos)
DESCRIPTION
Given a curve and a line, finds the local extreme distance points on the
curve to the given line.
Returned is a list of parameter value with local extreme distances.
Let Crv be (x(t), y(t)). By substituting x(t) and y(t) into the line
equation, we derive the distance function.
Its zero set, possibly combined with the zero set of its derivative
provide the needed extreme distances.
PARAMETERS:
Crv: The curve to find its nearest (farest) point to Line.
Line: The line to find the nearest (farest) point on Crv to it.
Epsilon: Accuracy of computation.
InterPos: Do we want the intersection locations?
ExtremPos: Do we want the extremum distance locations?
FUNCTION RETURN VALUE
CagdPtStruct *: A list of parameter values of extreme distance
locations.
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:41 GMT, July 20, 2024