Dela via


SpatialBoundingVolume.FromOrientedBox Method

Definition

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

 static SpatialBoundingVolume FromOrientedBox(SpatialCoordinateSystem const& coordinateSystem, SpatialBoundingOrientedBox const& box);
public static SpatialBoundingVolume FromOrientedBox(SpatialCoordinateSystem coordinateSystem, SpatialBoundingOrientedBox box);
function fromOrientedBox(coordinateSystem, box)
Public Shared Function FromOrientedBox (coordinateSystem As SpatialCoordinateSystem, box As SpatialBoundingOrientedBox) As SpatialBoundingVolume

Parameters

coordinateSystem
SpatialCoordinateSystem

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

box
SpatialBoundingOrientedBox

The oriented bounding box.

Returns

The new bounding volume.

Applies to