Expand description
Main polygon clipping engine
Direct port from clipper.engine.h and clipper.engine.cpp Copyright (c) Angus Johnson 2010-2025 This is the core clipping module implementing the Vatti sweep-line algorithm
Structs§
- Active
- Active edge in the sweep line Direct port from clipper.engine.h line 104
- Clipper
Base - Main clipping engine. Manages all arenas and the sweep-line algorithm state. Direct port from clipper.engine.h line 192
- Horz
Join - Horizontal join between two output points Direct port from clipper.engine.h line 156
- Horz
Segment - Horizontal segment for horizontal edge processing Direct port from clipper.engine.h line 148
- Intersect
Node - Intersection between two active edges Direct port from clipper.engine.h line 139
- Local
Minima - Local minimum vertex where ascending and descending bounds meet Direct port from clipper.engine.h line 131
- OutPt
- Output point in the clipping result (circular doubly-linked list) Direct port from clipper.engine.h line 55
- OutRec
- Output polygon record Direct port from clipper.engine.h line 79
- Vertex
- Input polygon vertex (circular doubly-linked list via arena indices) Direct port from clipper.engine.h line 48
- Vertex
Flags - Vertex flags (bitflags) Direct port from clipper.engine.h line 34
Enums§
- Clip
Type - Type of clipping operation Direct port from clipper.engine.h line 29
- Join
With - How an edge joins with another (for horizontal processing) Direct port from clipper.engine.h line 32
- Path
Type - Whether a path is Subject or Clip Direct port from clipper.engine.h line 31