(self)
return Point3D.distance(origin, self)
Returns the distance between this point and the origin.
Returns the distance between this point and the origin.
Returns the distance between this point and the origin .
def __abs__(self):
        """Returns the distance between this point and the origin."""
        origin = Point3D([0]*len(self.args))
        return Point3D.distance(origin, self)
def __abs__ ( self ) : origin = Point3D ( [ 0 ] * len ( self . args ) ) return Point3D . distance ( origin , self )