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
)
Public Function GetXform (
sourceSystem As CoordinateSystem,
destinationSystem As CoordinateSystem
) As Transform
Parameters
- sourceSystem
- Type: Rhino.DocObjectsCoordinateSystem
The coordinate system to map from. - destinationSystem
- Type: Rhino.DocObjectsCoordinateSystem
The coordinate system to map into.
Return Value
Type:
TransformThe 4x4 transformation matrix (acts on the left).
See Also