BoundingSphere.CreateFromPoints Method (Microsoft.Xna.Framework)

Creates the smallest BoundingSphere that can contain a specified list of points in 3D-space.

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.338)
  • C#
  • VB
  • F#
public static BoundingSphere CreateFromPoints(
	IEnumerable<Vector3> points
)

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Parameters

points
Type: IEnumerable<Vector3>
List of point to create the sphere from.

Return Value

Type: Microsoft.Xna.Framework.BoundingSphere
The new BoundingSphere.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web