Back to Adaptive Vision Library website
You are here: Start » Function Reference » Geometry 2D Relations » CreatePointGraph
CreatePointGraph
Creates a graph of points that lay close to each other.
Syntax
C++
C#
void avl::CreatePointGraph ( const atl::Array<avl::Point2D>& inPoints, atl::real inMaxDistance, int inMaxRank, atl::Optional<atl::real> inMaxRelativeDistance, atl::Array< atl::Array<int> >& outGraph )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inPoints | const Array<Point2D>& | ||
![]() |
inMaxDistance | real | Maximum distance between adjacent point in the graph | |
![]() |
inMaxRank | int | Maximum connections going out of one point | |
![]() |
inMaxRelativeDistance | Optional<real> | NIL | Maximum distance in relation to the shortest distance for a point |
![]() |
outGraph | Array< Array<int> >& |


