godot/component/ellipse.py
def is_in(self, point_x, point_y):
        """ Test if the point is within this ellipse """

        x = self.x_origin
        y = self.y_origin
        a = self.e_width#/2 # FIXME: Why divide by two
        b = self.e_height#/2

        return ((point_x-x)**2/(a**2)) + ((point_y-y)**2/(b**2)) < 1.0
def is_in(self, point_x, point_y):
        x = self.x_origin
        y = self.y_origin
        a = self.e_width#/2 # FIXME: Why divide by two
        b = self.e_height#/2

        return ((point_x-x)**2/(a**2)) + ((point_y-y)**2/(b**2)) < 1.0
def is_in ( self , point_x , point_y ) : x = self . x_origin y = self . y_origin a = self . e_width #/2 # FIXME: Why divide by two b = self . e_height #/2 return ( ( point_x - x ) ** 2 / ( a ** 2 ) ) + ( ( point_y - y ) ** 2 / ( b ** 2 ) ) < 1.0
Test if the point is within this ellipse
Test if the point is within this ellipse