ArcFM Server 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 Point, _
   ByVal p2 As Point, _
   ByVal p3 As Point, _
   ByRef center As Point, _
   ByRef radius2 As Double _
) As Boolean
'Usage
 
Dim p1 As Point
Dim p2 As Point
Dim p3 As Point
Dim center As Point
Dim radius2 As Double
Dim value As Boolean
 
value = ConduitLayoutGeometry.CircleFromThreePoints(p1, p2, p3, center, radius2)
public static bool CircleFromThreePoints( 
   Point p1,
   Point p2,
   Point p3,
   out Point center,
   out 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