...
mirror - A function with the input of three points . It serves to ..where p1 selects the object while p2 and p3 create a line that the object is reflected over. This function appears at the beginning or middle of a line of AutoCAD code.
mirror(p1,p2,p3) :=
...