def calc_x1_x2_x3(self):
        self.vec = alg3dpy.Vec(self.g1obj, self.g2obj)
        cosbeta, cosgama = self.vec.cosines_GLOBAL()
        senbeta = (1 - cosbeta**2)**0.5
        sengama = (1 - cosgama**2)**0.5
        self.x1 = float(self.f) * cosgama * cosbeta
        self.x2 = float(self.f) * sengama
        self.x3 = float(self.f) * cosgama * senbeta
dataset/ETHPy150Open saullocastro/mapy/mapy/model/loads/loads.py/Force.calc_x1_x2_x3/original