Back to FabImage Studio website

You are here: Start » Filter Reference » Geometry 2D » Geometry 2D Relations » CreatePointGraph

CreatePointGraph


Module: FoundationPro

Creates a graph of points that lie close to each other.

Name Type Range Description
Input value
inPoints Point2DArray Input points
Input value
inMaxRank Integer 1 - Maximum connections going out of one point
Input value
inMinDistance Real 0.0 - Minimum distance between adjacent point in the graph
Input value
inMaxDistance Real* 0.0 - Maximum distance between adjacent point in the graph
Input value
inMaxRelativeDistance Real* 1.0 - Maximum distance in relation to the shortest distance for a point
Output value
outGraph IntegerArrayArray Graph of points (adjacency list)
Output value
outDistances RealArrayArray Distances between adjacent points in the graph
Diagnostic input
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.