Back to Adaptive Vision Library websiteYou are here:
Start »
Function Reference »
Path Basics »
GetPathCharacteristicPoint_Interpolated
GetPathCharacteristicPoint_Interpolated
Returns linear interpolation between two consecutive characteristic points of a path.
Syntax
C++
C#
void avl::GetPathCharacteristicPoint_Interpolated
(
const avl::Path& inPath,
float inIndex,
avl::Point2D& outPoint
)
void GetPathCharacteristicPoint_Interpolated
(
Path inPath,
float inIndex,
out 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
Error type |
Description |
DomainError |
Index out of range in GetPathCharacteristicPoint_Interpolated. |