ViewportInfoGetXform Method |
Computes a transform from a coordinate system to another.
Namespace:
Rhino.DocObjects
Assembly:
RhinoCommon (in RhinoCommon.dll)
Syntaxpublic 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).
Version InformationRhino for Mac
Supported in: 5.4
Rhino for Windows
Supported in: 6.8
See Also