GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — rectdiff/utils at main · tscircuit/rectdiff

Expand file tree

/

utils

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

utils

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
README.md
README.md
 
 
rectsEqual.ts
rectsEqual.ts
 
 
rectsOverlap.ts
rectsOverlap.ts
 
 

README.md

Outline

Project Utilities

This directory contains global utility functions that can be reused across different parts of the application.

Geometry

rectsOverlap(a: XYRect, b: XYRect): boolean

  • Description: Checks if two rectangles overlap.
  • Parameters:
    • a: The first rectangle (XYRect).
    • b: The second rectangle (XYRect).
  • Returns: true if the rectangles overlap, false otherwise.

rectsEqual(a: XYRect, b: XYRect): boolean

  • Description: Checks if two rectangles are equal within a small tolerance (EPS).
  • Parameters:
    • a: The first rectangle (XYRect).
    • b: The second rectangle (XYRect).
  • Returns: true if the rectangles are equal, false otherwise.
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.