Dela via


SpatialBoundingVolume.FromFrustum Method

Definition

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

 static SpatialBoundingVolume FromFrustum(SpatialCoordinateSystem const& coordinateSystem, SpatialBoundingFrustum const& frustum);
public static SpatialBoundingVolume FromFrustum(SpatialCoordinateSystem coordinateSystem, SpatialBoundingFrustum frustum);
function fromFrustum(coordinateSystem, frustum)
Public Shared Function FromFrustum (coordinateSystem As SpatialCoordinateSystem, frustum As SpatialBoundingFrustum) As SpatialBoundingVolume

Parameters

coordinateSystem
SpatialCoordinateSystem

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

frustum
SpatialBoundingFrustum

The bounding frustum.

Returns

The new bounding volume.

Applies to