function measureRimInclination(obj) % Glenoid rim inclination is the angle between the glenoid infero-superior line % and the line that goes through Trigonum Spinae and Spino-Glenoid notch. % % obj.measureInferoSuperiorLine() must have been run before measuring the % glenoid retroversion. TStoSG = Vector(obj.scapula.trigonumSpinae, obj.scapula.spinoGlenoidNotch); rimInclinationRotation = vrrotvec(obj.inferoSuperiorLine.vector, TStoSG.vector); % Unlike glenoid retroversion angle, glenoid rim inclination method doesn't set % the sign of this angle which should be compared to the rotation axis alignment % with scapular PA axis. However, this alignement depends on the shoulder side. % It's assumed that glenoid infero-superior line will always be aligned with % scapular IS axis, and TStoSG line will always be aligned with scapular ML % axis. Therefore glenoid rim inclination angle will always be a positive number. obj.rimInclination = rad2deg(rimInclinationRotation(4)); end