Click or drag to resize

ViewportInfoGetXform Method

Computes a transform from a coordinate system to another.

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
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).
See Also