Title: Fixed Geometry Orientation Feature by ishika-negi · Pull Request #1901 · TheAlgorithms/JavaScript · GitHub
Open Graph Title: Fixed Geometry Orientation Feature by ishika-negi · Pull Request #1901 · TheAlgorithms/JavaScript
X Title: Fixed Geometry Orientation Feature by ishika-negi · Pull Request #1901 · TheAlgorithms/JavaScript
Description: What does this PR do?: Add an algorithm? Fix a bug or typo in an existing algorithm? Documentation change? Added a JavaScript implementation of the Geometry Orientation algorithm. The function determines the orientation of three points (a, b, c) in a 2D plane. It uses the cross-product method to compute orientation. Returns: 1 → counterclockwise orientation -1 → clockwise orientation 0 → collinear points Helps in computational geometry problems like convex hull and line intersection. Checklist: I have read CONTRIBUTING.md. This pull request is all my own work -- I have not plagiarized. I know that pull requests will not be merged if they fail the automated tests. This PR only changes one algorithm file. To ease review, please open separate PRs for separate algorithms. All new JavaScript files are placed inside an existing directory. All filenames should use the UpperCamelCase (PascalCase) style. There should be no spaces in filenames. Example:UserProfile.js is allowed but userprofile.js,Userprofile.js,user-Profile.js,userProfile.js are not All new algorithms have a URL in their comments that points to Wikipedia or another similar explanation. If this pull request resolves one or more open issues then the commit message contains Fixes: #1815. this format
Open Graph Description: What does this PR do?: Add an algorithm? Fix a bug or typo in an existing algorithm? Documentation change? Added a JavaScript implementation of the Geometry Orientation algorithm. The function...
X Description: What does this PR do?: Add an algorithm? Fix a bug or typo in an existing algorithm? Documentation change? Added a JavaScript implementation of the Geometry Orientation algorithm. The function...
Opengraph URL: https://github.com/TheAlgorithms/JavaScript/pull/1901
X: @github
Domain: Github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:2d6c1765-703a-a635-0f2c-67ec3e1b2834 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A63E:1FA5D3:B358E2:B6E547:6A63B0DC |
| html-safe-nonce | 409a9c08262125c90076854e75094fcc99282de0cb95812d4e108e2f6fb81aa4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNjNFOjFGQTVEMzpCMzU4RTI6QjZFNTQ3OjZBNjNCMERDIiwidmlzaXRvcl9pZCI6IjQyNDQ2NTEzMDkyMzU2Nzk0NTMiLCJyZWdpb25fZWRnZSI6InNlYSIsInJlZ2lvbl9yZW5kZXIiOiJzZWEifQ== |
| visitor-hmac | 8ba6cc29ddb64d06343cf1f3c891c374c7698ec2b2b37cd801a3fa4c97e5cc4a |
| hovercard-subject-tag | pull_request:3769934470 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/TheAlgorithms/JavaScript/pull/1901/files |
| twitter:image | https://avatars.githubusercontent.com/u/165272611?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/165272611?s=400&v=4 |
| og:image:alt | What does this PR do?: Add an algorithm? Fix a bug or typo in an existing algorithm? Documentation change? Added a JavaScript implementation of the Geometry Orientation algorithm. The function... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | c69b5576237034cb6ab5477391df7811093a00579a751b33bed4b527d68aade6 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/TheAlgorithms/JavaScript git https://github.com/TheAlgorithms/JavaScript.git |
| octolytics-dimension-user_id | 20487725 |
| octolytics-dimension-user_login | TheAlgorithms |
| octolytics-dimension-repository_id | 97086543 |
| octolytics-dimension-repository_nwo | TheAlgorithms/JavaScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 97086543 |
| octolytics-dimension-repository_network_root_nwo | TheAlgorithms/JavaScript |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5c31956f7a31ef033ef93ba813dcb6f7e8eb0972 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width