Start » Filter Reference » Geometry 2D » Geometry 2D Features » PointsDiameter
Module: | FoundationLite |
---|
Finds the longest segment connecting two points from a given array.
Name | Type | Description | |
---|---|---|---|
inPoints | Point2DArray | Input array of points | |
outDiameter | Segment2D | Longest segment found | |
outDiameterLength | Real | Length of longest segment found |
Examples
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.