Center returns the center point.
()
| 417 | |
| 418 | // Center returns the center point. |
| 419 | func (r Rect) Center() Point { |
| 420 | return Point{(r.X0 + r.X1) / 2.0, (r.Y0 + r.Y1) / 2.0} |
| 421 | } |
| 422 | |
| 423 | // Equals returns true if rectangles are equal with tolerance Epsilon. |
| 424 | func (r Rect) Equals(q Rect) bool { |
nothing calls this directly
no outgoing calls
no test coverage detected