Class CAMxyRectangle

Include file: camxyrct.h


Instances of this class are rectangles whose sides are aligned with the x and y axis.

 

Chris Anderson © UCLA 6/27/97


Constructors

CAMxyRectangle(double x_1, double y_1, double x_2, double y_2)

Purpose

This constructor creates a CAMxyRectangle instance whose lower left corner has coordinates (x_1, y_1) and whose upper right corner has coordinates (x_2 ,y_2).


Entity Specific Notes

* The rotateBy(…) command only rotates the rectangle through angles which are multiples of pi/2.