Click or drag to resize

ViewportInfoGetXform Method

Computes a transform from a coordinate system to another.

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public Transform GetXform(
	CoordinateSystem sourceSystem,
	CoordinateSystem destinationSystem
)

Parameters

sourceSystem
Type: Rhino.DocObjectsCoordinateSystem
The coordinate system to map from.
destinationSystem
Type: Rhino.DocObjectsCoordinateSystem
The coordinate system to map into.

Return Value

Type: Transform
The 4x4 transformation matrix (acts on the left).
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also