SpatialCoordinateSystem.TryGetTransformTo(SpatialCoordinateSystem) SpatialCoordinateSystem.TryGetTransformTo(SpatialCoordinateSystem) SpatialCoordinateSystem.TryGetTransformTo(SpatialCoordinateSystem) SpatialCoordinateSystem.TryGetTransformTo(SpatialCoordinateSystem) SpatialCoordinateSystem.TryGetTransformTo(SpatialCoordinateSystem) Method

Definition

Provides a transform matrix that you can use to convert geometry expressed in one coordinate system to another coordinate system.

public : IReference<Matrix4x4> TryGetTransformTo(SpatialCoordinateSystem target)
IReference<Matrix4x4> TryGetTransformTo(SpatialCoordinateSystem target) const;
public Nullable<Matrix4x4> TryGetTransformTo(SpatialCoordinateSystem target)
Public Function TryGetTransformTo(target As SpatialCoordinateSystem) As Nullable<Matrix4x4>(Of Matrix4x4)
var iReference = spatialCoordinateSystem.tryGetTransformTo(target);

Parameters

target
SpatialCoordinateSystem SpatialCoordinateSystem SpatialCoordinateSystem SpatialCoordinateSystem SpatialCoordinateSystem

The target coordinate system that you want to transform geometry to.

Returns

Nullable<Matrix4x4> Nullable<Matrix4x4> Nullable<Matrix4x4>

If the transformation is successful, this parameter returns the Matrix4x4 structure that you can use to transform geometry from being represented in the source SpatialCoordinateSystem to the specified target coordinate system.

Remarks

This method will return null if the target coordinate system cannot be located relative to this one at the moment.