Beispiel #1
0
    def transform_coord(self, from_xyz, from_xform, to_xform):

        import VolumePath
        to_xyz = VolumePath.transform_coordinates(from_xyz,
                                        from_xform, to_xform)

        return to_xyz
Beispiel #2
0
    def transform_coord(self, from_xyz, from_xform, to_xform):
        """transform_coord(from_xyz, from_xform, to_xform)

        Input:
            from_xyz    from object coordinates
            from_xform  from object's transform
            to_xform    to objcet's transform

        Output:
            to_xyz      to object coordinates

        Convert coordinates from 'from object' to 'to object'
        """
        
        import VolumePath
        to_xyz = VolumePath.transform_coordinates(from_xyz,
                                    from_xform,to_xform)
        return to_xyz