Replicating Box Mapping in C#

Hi everyone,
I am converting a GH definition into a C# plugin, and I need to map some points from a source box to a target box, which I do in GH using BoxMap / Box Mapping component. However, I can’t seem to find the corresponding operation in RhinoCommon. Am I just missing it or it does not exist?

Alternatively, I’ve been trying with Transform.ChangeBasis, .Scale and.Translation, but I feel there must be a simpler way… Any suggestions?
Thanks in advance, Eduardo

AKAIK does not exist in the rhinocommon SDK. You have to scale + plane to plane.
https://developer.rhino3d.com/api/RhinoCommon/html/M_Rhino_Geometry_Transform_Scale.htm
https://developer.rhino3d.com/api/RhinoCommon/html/M_Rhino_Geometry_Transform_PlaneToPlane.htm

Thanks Dani!