'The intersection between this point and another point.
Parameters
other : Point
Returns
intersection : list of Points
Notes
The return value will either be an empty list if there is no
intersection, otherwise it will contain this point.
Examples
>>> from sympy import Point3D
>>> p1, p2, p3 = Point3D(0, 0, 0), Point3D(1, 1, 1), Point3D(0, 0, 0)
>>> p1.intersection(p2)
>>> p1.intersection(p3)
[Point3D(0, 0, 0)]'

def intersection(self, other):

    if (not isinstance(other, GeometryEntity)):
        other = Point(other, dim=3)
    if isinstance(other, Point3D):
        if (self == other):
            return [self]
        return []
    return other.intersection(self)
