A method and apparatus for an osteotomy fixation or arthrodesis cage allows the adjustment of the relative position of two bone segments while supporting the joining of those bone segments into one structure through the implant and methods described herein. The implant's embodiments fixate to the adjacent bones while inter-positioning its body between the bone segments. This inter-positioning allows anatomical adjustments in the distance between and angle of the bone segments. The adjustment is further enhanced by the use of shape memory materials that when activated through the application of heat energy, transition from a second shape to a first shape while changing the distance between the bones or their relative angle. This method and apparatus can be used on any adjacent bone or bone segments including but not limited to the vertebrae of the spine or long bone such as the tibia or metatarsal.