Start » Filter Reference » Geometry 2D » Geometry 2D Relations » CreatePointGraph
Module: | FoundationPro |
---|
Creates a graph of points that lie close to each other.
Name | Type | Range | Description | |
---|---|---|---|---|
inPoints | Point2DArray | Input points | ||
inMaxRank | Integer | 1 - | Maximum connections going out of one point | |
inMinDistance | Real | 0.0 - | Minimum distance between adjacent point in the graph | |
inMaxDistance | Real* | 0.0 - | Maximum distance between adjacent point in the graph | |
inMaxRelativeDistance | Real* | 1.0 - | Maximum distance in relation to the shortest distance for a point | |
outGraph | IntegerArrayArray | Graph of points (adjacency list) | ||
outDistances | RealArrayArray | Distances between adjacent points in the graph | ||
diagSegments | Segment2DArray | Graph edges, useful for visualization |
Errors
This filter can throw an exception to report error. Read how to deal with errors in Error Handling.
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Minimum distance is greater than maximum distance in CreatePointGraph. |
Complexity Level
This filter is available on Expert Complexity Level.