Back to FabImage Library Lite websiteYou are here:
Start »
Path Basics »
GetPathCharacteristicPoint_Interpolated
GetPathCharacteristicPoint_Interpolated
| Header: | FIL.h |
| Namespace: | fil |
Returns linear interpolation between two consecutive characteristic points of a path.
Syntax
void fil::GetPathCharacteristicPoint_Interpolated
(
const fil::Path& inPath,
float inIndex,
fil::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. |