Computes the near-optimal bounding sphere of a list of points.

Namespace: Spherical
Assembly: SphericalLib (in SphericalLib.dll) Version: 1.0.5951.32246 (1.0.0.0)

Syntax

C#
public static void FindBoundingSphere(
	IList<Cartesian> plist,
	out Cartesian center,
	out double radius
)
Visual C++
public:
static void FindBoundingSphere(
	IList<Cartesian>^ plist, 
	[OutAttribute] Cartesian% center, 
	[OutAttribute] double% radius
)
F#
static member FindBoundingSphere : 
        plist:IList<Cartesian> * 
        center:Cartesian byref * 
        radius:float byref -> unit 

Parameters

plist
Type: System.Collections.Generic..::..IList<(Of <(<'Cartesian>)>)>

[Missing <param name="plist"/> documentation for "M:Spherical.Cartesian.FindBoundingSphere(System.Collections.Generic.IList{Spherical.Cartesian},Spherical.Cartesian@,System.Double@)"]

center
Type: Spherical..::..Cartesian%

[Missing <param name="center"/> documentation for "M:Spherical.Cartesian.FindBoundingSphere(System.Collections.Generic.IList{Spherical.Cartesian},Spherical.Cartesian@,System.Double@)"]

radius
Type: System..::..Double%

[Missing <param name="radius"/> documentation for "M:Spherical.Cartesian.FindBoundingSphere(System.Collections.Generic.IList{Spherical.Cartesian},Spherical.Cartesian@,System.Double@)"]

Remarks

Based on code by Jack Ritter from Graphics Gems, Academic Press, 1990

See Also