how can i get each triangle?
See original GitHub issueIncrementalTin tin = new IncrementalTin(1.0);
List<Vertex> vertexList = loadPointSet(newlineList);
tin.add(vertexList, null);
TinRenderingUtility.drawTin(tin, 500, 500, new File("tin.png"));
I need the three coordinates of each triangle,not a picture,what should i do?
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Triangles: Area - Varsity Tutors
The area A of a triangle is given by the formula A=12bh where b is the base and h is the height of...
Read more >Solving Triangles - Math is Fun
Such a triangle can be solved by using Angles of a Triangle to find the other angle, and The Law of Sines to...
Read more >How to find area of triangle (formula walkthrough) (video)
Finding area of triangles ... To find a triangle's area, use the formula area = 1/2 * base * height. Choose a side...
Read more >Triangle Calculator
Triangles classified based on their internal angles fall into two categories: right or oblique. A right triangle is a triangle in which one...
Read more >How to Find Area of triangle | Formulas | Examples - Byju's
Area of a triangle is the region covered by its three sides in a plane. Area of a triangle is equal to half...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
First off, thank you for your interest in the Tinfour project. Looking at the code example in your post, it looks like you’ve already made good progress in using the Tinfour software.
There are a couple of ways to do what you want. A good place to start would be to use the TriangleCollector. The implementation is efficient and relatively easy to use. Some code follows. For my example, I’ve used randomly generated vertices rather than your loadPointSet() method, but the idea is the same.
There is now an iterator for SimpleTriangles in the API