Home | History | Annotate | Download | only in geometry

Lines Matching full:rectangle

5 // A template for a simple rectangle class.  The containment semantics
7 // contained by the rectangle, but the coordinate (x + width, y) is not.
60 // Shrink the rectangle by a horizontal and vertical distance on all sides.
65 // Shrink the rectangle by the given insets.
68 // Shrink the rectangle by the specified amount on each side.
71 // Move the rectangle by a horizontal and vertical distance.
86 // Returns true if the area of the rectangle is zero.
98 // this rectangle. The point (x, y) is inside the rectangle, but the
102 // Returns true if the specified point is contained by this rectangle.
107 // Returns true if this rectangle contains the specified rectangle.
110 // Returns true if this rectangle intersects the specified rectangle.
111 // An empty rectangle doesn't intersect any rectangle.
114 // Computes the intersection of this rectangle with the given rectangle.
117 // Computes the union of this rectangle with the given rectangle. The union
118 // is the smallest rectangle containing both rectangles.
121 // Computes the rectangle resulting from subtracting |rect| from |*this|,
125 // Fits as much of the receiving rectangle into the supplied rectangle as
127 // a x-location of 2 and a width of 4, and the supplied rectangle had
128 // an x-location of 0 with a width of 5, the returned rectangle would have
132 // Returns the center of this rectangle.
135 // Becomes a rectangle that has the same center point but with a size capped
142 // Returns true if this rectangle shares an entire edge (i.e., same width or
143 // same height) with the given rectangle, and the rectangles do not overlap.