Share via


SpatialBoundingVolume.FromBox Method

Definition

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

 static SpatialBoundingVolume FromBox(SpatialCoordinateSystem const& coordinateSystem, SpatialBoundingBox const& box);
public static SpatialBoundingVolume FromBox(SpatialCoordinateSystem coordinateSystem, SpatialBoundingBox box);
function fromBox(coordinateSystem, box)
Public Shared Function FromBox (coordinateSystem As SpatialCoordinateSystem, box As SpatialBoundingBox) As SpatialBoundingVolume

Parameters

coordinateSystem
SpatialCoordinateSystem

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

box
SpatialBoundingBox

The bounding box.

Returns

The new bounding volume.

Applies to