New setGraphics methods for Point and Segment classes