Condividi tramite


Metodo Geometry.ComputeBoundingSphere

Aggiornamento: novembre 2007

Calcola una sfera di delimitazione per un reticolo.

Spazio dei nomi:  Microsoft.WindowsMobile.DirectX.Direct3D
Assembly:  Microsoft.WindowsMobile.DirectX (in Microsoft.WindowsMobile.DirectX.dll)

Sintassi

'Dichiarazione
Public Shared Function ComputeBoundingSphere ( _
    pointsFvf As GraphicsStream, _
    numPoints As Integer, _
    vertexFormat As VertexFormats, _
    <OutAttribute> ByRef center As Vector3 _
) As Single
'Utilizzo
Dim pointsFvf As GraphicsStream
Dim numPoints As Integer
Dim vertexFormat As VertexFormats
Dim center As Vector3
Dim returnValue As Single

returnValue = Geometry.ComputeBoundingSphere(pointsFvf, _
    numPoints, vertexFormat, center)
public static float ComputeBoundingSphere(
    GraphicsStream pointsFvf,
    int numPoints,
    VertexFormats vertexFormat,
    out Vector3 center
)
public:
static float ComputeBoundingSphere(
    GraphicsStream^ pointsFvf, 
    int numPoints, 
    VertexFormats vertexFormat, 
    [OutAttribute] Vector3% center
)
public static function ComputeBoundingSphere(
    pointsFvf : GraphicsStream, 
    numPoints : int, 
    vertexFormat : VertexFormats, 
    center : Vector3
) : float

Parametri

Valore restituito

Tipo: System.Single

Raggio della sfera di delimitazione restituita.

Autorizzazioni

Piattaforme

Windows CE, Windows Mobile per Smartphone, Windows Mobile per Pocket PC

.NET Framework e .NET Compact Framework non supportano tutte le versioni di ciascuna piattaforma. Per un elenco delle versioni supportate, vedere Requisiti di sistema di .NET Framework.

Informazioni sulla versione

.NET Compact Framework

Supportato in: 3.5, 2.0

Vedere anche

Riferimenti

Geometry Classe

Membri Geometry

Spazio dei nomi Microsoft.WindowsMobile.DirectX.Direct3D