Node: Copying Points, Next: , Previous: Point Operators, Up: Point Reference



Copying

Shape* get_copy (void) const function
Creates a copy of the Point, and allocates memory for it on the free store using create_new<Point>(). It returns a pointer to Shape that points to the new Point. This function is used in the drawing commands for putting Points onto Pictures. See Point Reference; Drawing.