ArcFM Solution Developer Guide
FindMinimalBoundingCircle Method


Collection of points to evaluate
Find the smallest circle that encloses all of the points Note that this is a non-optimal algorithm, but the number of points is guaranteed to be small Ref: http://csharphelper.com/blog/2014/08/find-a-minimal-bounding-circle-of-a-set-of-points-in-c/
Syntax
'Declaration
 
Public Shared Function FindMinimalBoundingCircle( _
   ByVal points As System.Windows.Media.PointCollection _
) As System.ValueTuple(Of Double,Point)
'Usage
 
Dim points As System.Windows.Media.PointCollection
Dim value As System.ValueTuple(Of Double,Point)
 
value = ConduitLayoutGeometry.FindMinimalBoundingCircle(points)
public static System.ValueTuple<double,Point> FindMinimalBoundingCircle( 
   System.Windows.Media.PointCollection points
)

Parameters

points
Collection of points to evaluate

Return Value

Circle tuple: diameter, center
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

ConduitLayoutGeometry Class
ConduitLayoutGeometry Members

 

 


Send Comment