Share via


SpatialSurfaceInfo.TryGetBounds(SpatialCoordinateSystem) Method

Definition

Gets the bounds of this surface, expressed in the specified coordinate system.

public:
 virtual IReference<SpatialBoundingOrientedBox> ^ TryGetBounds(SpatialCoordinateSystem ^ coordinateSystem) = TryGetBounds;
IReference<SpatialBoundingOrientedBox> TryGetBounds(SpatialCoordinateSystem const& coordinateSystem);
public System.Nullable<SpatialBoundingOrientedBox> TryGetBounds(SpatialCoordinateSystem coordinateSystem);
function tryGetBounds(coordinateSystem)
Public Function TryGetBounds (coordinateSystem As SpatialCoordinateSystem) As Nullable(Of SpatialBoundingOrientedBox)

Parameters

coordinateSystem
SpatialCoordinateSystem

The coordinate system in which to express the bounds.

Returns

The bounds.

Remarks

Because this is a snapshot, the bounds returned will not change over time.

This method will return null if the specified coordinate system cannot be located at the moment.

Applies to