Back to Aurora Vision Library Lite websiteYou are here:
Start »
Path »
Path Basics »
CreateSegmentPath
Header: |
AVL.h
|
Namespace: |
avl |
Creates an open path containing collinear, equidistant points.
Syntax
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
CreateSegmentPath run with inPointCount = 5.
See Also
- CreateArcPath – Creates an open path containing cocircular, equidistant points.
- CreateCirclePath – Creates a closed path containing cocircular, equidistant points.