Title The Class for Representing a Point in the Euclidean Plane
Catalog Type SLCItem
Persistent ID https://pawscomp2.sis.pitt.edu/pcex/index.html?lang=PYTHON&set=objects_classes_point
Platform Name PCEX
Features
Description Construct a class that represents a point in the Euclidean plane. The class should contain data that represents the point’s integer coordinates (x,y). The point's coordinates could be accessed or changed only through the getter and setter methods. The class should also include a method to translate the point, i.e., shift the point's location by the specified amount.
Keywords classes, data structures, objects, stacks
Author Roya Hosseini
Institution University of Pittsburgh
Iframe URL https://pawscomp2.sis.pitt.edu/pcex/index.html?lang=PYTHON&set=objects_classes_point
Protocol PITT, HTML
Protocol URL
License MIT
Programming Language Python
Natural Language en

Preview