Back to Aurora Vision Studio website

You are here: Start » Filter Reference » Geometry 2D » Geometry 2D Features » PointsDiameter

PointsDiameter


Module: FoundationLite

Finds the longest segment connecting two points from a given array.

Name Type Description
Input value inPoints Point2DArray Input array of points
Output value outDiameter Segment2D Longest segment found
Output value outDiameterLength Real Length of longest segment found

Examples

PointsDiameter performed on an array of input points. The orange line is the result.

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 Empty array of points on input in PointsDiameter.

Complexity Level

This filter is available on Basic Complexity Level.