package core:math/poly2tri
⌘K
Ctrl+K
or
/
Overview
https://github.com/jhasse/poly2tri
Index
Types (1)
Constants (0)
This section is empty.
Variables (0)
This section is empty.
Procedures (2)
Procedure Groups (0)
This section is empty.
Types
Trianguate_Error ¶
Trianguate_Error :: enum int { None, Edge_P1_Equal_P2, Triangle_MarkNeighbor2_target_not_a_neighbor, Triangle_PointCW_point_not_in_triangle, Triangle_PointCCW_point_not_in_triangle, Triangle_Index_point_not_in_triangle, Triangle_Legalize_opoint_not_in_triangle, AdvancingFront_LocatePoint_point_not_found, EdgeEvent2_nil_triangle, EdgeEvent2_collinear_points_not_supported, FlipEdgeEvent_nil_triangle, FlipEdgeEvent_nil_neighbor_across, Opposing_point_on_constrained_edge, // !Unsupported FlipScanEdgeEvent_nil_neighbor_across, FlipScanEdgeEvent_nil_opposing_point, FlipScanEdgeEvent_nil_on_either_of_points, FlipEdgeEvent_nil_Triangle, FlipEdgeEvent_nil_Neighbor_Across, nil_node, }
Related Procedures With Returns
Constants
This section is empty.
Variables
This section is empty.
Procedures
TrianguatePolygons ¶
TrianguatePolygons :: proc(poly: [][2]f32, nPoly: []u32, allocator := context.allocator) -> (indices: []u32, err: Trianguate_Error = .None) {…}
TrianguateSinglePolygon ¶
TrianguateSinglePolygon :: proc(poly: [][2]f32, baseIdx: []u32, holes: [][][2]f32 = nil, allocator := context.allocator) -> (indices: []u32, err: Trianguate_Error = .None) {…}
Procedure Groups
This section is empty.
Source Files
Generation Information
Generated with odin version dev-v0.0.1 (vendor "odin") Linux_amd64 @ 2026-01-30 10:23:16.371066633 +0000 UTC