Group.TransformPointToGroup

This page contains reference documentation for the TransformPointToGroup function. This function will transform a coordinate from one group to another.

Prototype

Matrix TransformPointToGroup( Group DestinationGroup, Vec DestinationGroup )

Parameters

Function parameters are as follows:

Examples

Examples are as follows:

Vec aVec1 = new Vec;
Vec aVec2 = new Vec;
Matrix RootTransform = new Matrix;

node.Parent().GetTransformToGroup( Model, RootTransform );
Model.GetSelectedNode( 0 ).GetSelectBounds( aVec1, aVec2 );
node.Parent().TransformPointToGroup( Model, aVec1);

Working Sample Code

For sample code: