ArcFM Solution Developer Guide
CircleFromThreePoints Method


Point on circle
Point on circle
Point on circle
Center of circle
Radius of circle squared
Create a circle from three points Ref: https://stackoverflow.com/questions/4103405/what-is-the-algorithm-for-finding-the-center-of-a-circle-from-three-points
Syntax
'Declaration
 
Public Shared Function CircleFromThreePoints( _
   ByVal p1 As System.Windows.Point, _
   ByVal p2 As System.Windows.Point, _
   ByVal p3 As System.Windows.Point, _
   ByRef center As System.Windows.Point, _
   ByRef radius2 As System.Double _
) As System.Boolean
'Usage
 
Dim p1 As System.Windows.Point
Dim p2 As System.Windows.Point
Dim p3 As System.Windows.Point
Dim center As System.Windows.Point
Dim radius2 As System.Double
Dim value As System.Boolean
 
value = ConduitLayoutGeometry.CircleFromThreePoints(p1, p2, p3, center, radius2)
public static System.bool CircleFromThreePoints( 
   System.Windows.Point p1,
   System.Windows.Point p2,
   System.Windows.Point p3,
   out System.Windows.Point center,
   out System.double radius2
)

Parameters

p1
Point on circle
p2
Point on circle
p3
Point on circle
center
Center of circle
radius2
Radius of circle squared

Return Value

Return false if points are collinear
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