Back to Adaptive Vision Library Lite websiteYou are here:
Start »
Path Basics »
GetPathCharacteristicPoint_Interpolated
GetPathCharacteristicPoint_Interpolated
| Header: | AVL.h |
| Namespace: | avl |
Returns linear interpolation between two consecutive characteristic points of a path.
Syntax
void avl::GetPathCharacteristicPoint_Interpolated
(
const avl::Path& inPath,
float inIndex,
avl::Point2D& outPoint
)
Parameters
|
Name |
Type |
Range |
Default |
Description |
 |
inPath |
const Path& |
|
|
Input path |
 |
inIndex |
float |
0.0 -  |
|
Real-valued point index; fractional values result in interpolation |
 |
outPoint |
Point2D& |
|
|
|
Errors
List of possible exceptions:
| Error type |
Description |
| DomainError |
Index out of range in GetPathCharacteristicPoint_Interpolated. |