Connect five points into three triangles
connect_five_points.Rd
This function demonstrates a simple approach to connect five 2D points into a set of three triangles. For demonstration purposes only: the triangles here are formed by a fixed (toy) example.
Value
A list with two elements:
- points
The original points (matrix).
- edges
A matrix of edges (each row is a pair of point indices forming an edge).