SpatialBoundingVolume.FromSphere Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.