'Declaration
Public Function TryGetLongestLine( _ ByVal step As System.Double, _ ByVal minDistanceToSides As System.Double, _ ByRef longestLine As NLineSegment _ ) As System.Boolean
'Usage
Dim instance As NPolygon Dim step As System.Double Dim minDistanceToSides As System.Double Dim longestLine As NLineSegment Dim value As System.Boolean value = instance.TryGetLongestLine(step, minDistanceToSides, longestLine)
public System.bool TryGetLongestLine( System.double step, System.double minDistanceToSides, out NLineSegment longestLine )
Parameters
- step
- The step with which the scan line jumps down.
- minDistanceToSides
- The minimum distance from the found line's center to the sides of the polygon.
- longestLine
- The resulting longest inner line.