{"id":16429080,"url":"https://github.com/codeandweb/poly2tri","last_synced_at":"2026-01-21T12:02:35.459Z","repository":{"id":34726960,"uuid":"38704766","full_name":"CodeAndWeb/poly2tri","owner":"CodeAndWeb","description":"Automatically exported from code.google.com/p/poly2tri","archived":false,"fork":false,"pushed_at":"2015-07-07T17:54:23.000Z","size":800,"stargazers_count":1,"open_issues_count":24,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-08T05:43:21.335Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CodeAndWeb.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-07T17:51:02.000Z","updated_at":"2016-09-26T06:13:26.000Z","dependencies_parsed_at":"2022-09-14T18:41:12.909Z","dependency_job_id":null,"html_url":"https://github.com/CodeAndWeb/poly2tri","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CodeAndWeb/poly2tri","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeAndWeb%2Fpoly2tri","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeAndWeb%2Fpoly2tri/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeAndWeb%2Fpoly2tri/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeAndWeb%2Fpoly2tri/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeAndWeb","download_url":"https://codeload.github.com/CodeAndWeb/poly2tri/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeAndWeb%2Fpoly2tri/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28632781,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T04:47:28.174Z","status":"ssl_error","status_checked_at":"2026-01-21T04:47:22.943Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T08:20:44.550Z","updated_at":"2026-01-21T12:02:35.441Z","avatar_url":"https://github.com/CodeAndWeb.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿#####################################################################################\n###\n### Since there are no Input validation of the data given for triangulation you need \n### to think about this. Poly2Tri does not support repeat points within epsilon.\n### \n### * If you have a cyclic function that generates random points make sure you don't \n### add the same coordinate twice.\n###\n### * If you are given input and aren't sure same point exist twice you need to \n### check for this yourself.\n###      \n### * Only simple polygons are supported. You may add holes or interior Steiner points\n###\n### * Interior holes must not touch other holes, nor touch the polyline boundary\n###\n### * Use the library in this order:\n###\n### 1) Initialize CDT with a simple polyline (this defines the constrained edges)\n### 2) Add holes if necessary (also simple polylines)\n### 3) Add Steiner points\n### 4) Triangulate\n###\n### Make sure you understand the preceding notice before posting an issue. If you have \n### an issue not covered by the above, include your data-set with the problem.\n###\n### The only easy day was yesterday; have a nice day. \u003cMason Green\u003e\n###\n######################################################################################\n\n===========================\nTESTBED INSTALLATION GUIDE\n===========================\n\n------------\nDependencies\n------------\n\n  Core poly2tri lib:\n  - Standard Template Library (STL)\n  \n  Testbed:\n  - gcc\n  - OpenGL\n  - GLFW (http://glfw.sf.net)\n  - Python\n \nwaf (http://code.google.com/p/waf/) is used to compile the testbed.   \nA waf script (86kb) is included in the repositoty.\n\n----------------------------------------------\nBuilding the Testbed\n----------------------------------------------\n\nPosix/MSYS environment:\n\n  ./waf configure\n  ./waf build\n\nWindows command line:\n\n  python waf configure\n  python waf build\n\n----------------------------------------------\nRunning the Examples\n----------------------------------------------\n\nLoad data points from a file:\np2t \u003cfilename\u003e \u003ccenter_x\u003e \u003ccenter_y\u003e \u003czoom\u003e\n\nRandom distribution of points inside a consrained box:\np2t random \u003cnum_points\u003e \u003cbox_radius\u003e \u003czoom\u003e\n\nExamples:\n\n  ./p2t dude.dat 300 500 2\n  ./p2t nazca_monkey.dat 0 0 9\n  \n  ./p2t random 10 100 5.0\n  ./p2t random 1000 20000 0.025\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeandweb%2Fpoly2tri","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeandweb%2Fpoly2tri","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeandweb%2Fpoly2tri/lists"}