Back to Adaptive Vision Library website
You are here: Start » Function Reference » Path Basics » CreateSegmentPath
CreateSegmentPath
Creates an open path containing collinear, equidistant points.
Header: | AVL.h |
---|
Syntax
C++
C#
void avl::CreateSegmentPath ( const avl::Point2D& inBegin, const avl::Point2D& inEnd, int inPointCount, avl::Path& outPath )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inBegin | const Point2D& | First point of the path | |||
inEnd | const Point2D& | Last point of the path | |||
inPointCount | int | 2 - | 2 | Number of points in the created path | |
outPath | Path& | Output path |
Description
The operation produces an open path that consist of inPointCount equidistant points selected along the segment between inBegin and inEnd.
Examples
See Also
- CreateArcPath – Creates an open path containing cocircular, equidistant points.
- CreateCirclePath – Creates a closed path containing cocircular, equidistant points.