Contents

transform(from:)

Returns a transform of this coordinate space from the target coordinate space.

Declaration

func transform(from targetCoordinateSpace: Self) throws -> ProjectiveTransform3D

Parameters

  • targetCoordinateSpace:

    Another coordinate space.

Discussion

This method is dedicated for converting between coordinate spaces of the same type. Implementations may be more efficient than the general purpose convert functions, but results should be the same. A default implementation is provided which uses root level conversions.