SpatialBoundingVolume.FromSphere Method

Definition

Creates a bounding volume from the specified sphere, with its coordinates interpreted within the specified coordinate system.

 static SpatialBoundingVolume FromSphere(SpatialCoordinateSystem const& coordinateSystem, SpatialBoundingSphere const& sphere);
public static SpatialBoundingVolume FromSphere(SpatialCoordinateSystem coordinateSystem, SpatialBoundingSphere sphere);
function fromSphere(coordinateSystem, sphere)
Public Shared Function FromSphere (coordinateSystem As SpatialCoordinateSystem, sphere As SpatialBoundingSphere) As SpatialBoundingVolume

Parameters

coordinateSystem
SpatialCoordinateSystem

The coordinate system within which to interpret the bounding sphere's coordinates.

sphere
SpatialBoundingSphere

The bounding sphere.

Returns

The new bounding volume.

Applies to