P2.4 hole-on-diameter bite (OV-P2 / Bar 2) - #20
Open
grootstebozewolf wants to merge 2 commits into
Open
Conversation
H-SHELL-HOLE-OUTER (hole meets the other diameter) is the non-crossing cousin of HOLE-CROSS. P2.2 already names the shared hole-edge as an interval; BiteVsHole now treats hole-edge ⊂ other.shell as a bite even when there are no crossing nodes. CUP is the three-quarter (the solid fills the hole). Stacked on P2.4; not P2.5 / N-SS. Co-authored-by: Jeroen Bloemscheer <grootstebozewolf@users.noreply.github.com>
Co-authored-by: Jeroen Bloemscheer <grootstebozewolf@users.noreply.github.com>
This was referenced Aug 16, 2026
grootstebozewolf
marked this pull request as ready for review
August 16, 2026 12:49
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on
cursor/p24-two-hole-arrangement-fdec@ bb45876 (draft #19). Do not merge this into #7. This is OV-P2 / Bar 2, not OV-P1. Does not merge #12 / #13 / #15 / #16 / #17 / #18 / #19 / #7. Does not push tofeature/sfa-curve-rgror master.Sentence
The noder is the named-miss suite, one assembly rule at a time. Nodes (P2.1), overlap-as-edge (P2.2), bite vs hole (P2.3), two-hole (P2.4), then hole-on-diameter. Densify is never a noder. Snap-rounding is not this rung.
What this is
The remaining
assertNullintestNotThisCellReturnsNull:H-SHELL-HOLE-OUTER — hole meets the other diameter.
HALF_HOLED= half-disc outer + hole(0 1, 1 1, 1 2, 0 2, 0 1)HALF_RIGHT= right half-disc, vertical diameter(0 5, 0 -5)The hole sits entirely in Q1. Its left edge
(0 1)–(0 2)is collinear with / a subset of HALF_RIGHT's diameter. Not two crossing nodes. P2.2 already names that shared run as an edge. P2.3BiteVsHoleis the straddle (HOLE-CROSS). This cell is the non-crossing cousin: the hole ring itself overlaps the other shell.Already-lasered DifferentOuterHole rows that reuse the "H-SHELL-HOLE-OUTER" label (
testDifferentOuterHoleInsideCapIsPunched/OutsideCap) stay unchanged.Snap-rounding was not required. No circular noder in jts-core. No general PLG/COV arrangement.
Face assembly
BiteVsHolenow falls through to a shared-edge walk whenCurveSegmentNoder.nodesis MIXED (null) andedgesnames exactly one non-degenerate chord ⊂ other.shell. The hole interior is entirely in the solid. Overlay reuses the existing splice / join / punch:6.25π − 1(shell, not a punch)18.75π(the solid fills the hole; hypothesis18.75π − 1was wrong)6.25π6.25π + 112.5π + 1Exact,
isApproximate()=false. Decide / clip-edge pins sit next to the overlay pin. No new public API. No noder injts-core. Name is OverlayNGCurve. P2.5 / N-SS was not started.Lasering vs stamped
assertNull.What this is not
SegmentString/Noderin jts-core)feature/sfa-curve-rgr/ PR SFA/SQL-MM curve awareness: Curve rename, arc-aware operations, OverlayNGCurve ratchet (#1195 RGR series) #7 / locationtech masterVerify
All green after this revision:
CurveSegmentStringTest16 / 0 (noder names(0 1)–(0 2); nodes stay null;BiteVsHole.BITE)CompoundCurveShellOverlayTest27 / 0 (hole-on-diameter CAP/CUP/SUB/XOR exact; HOLE-CROSS / HOLE-X / SAME-OUTER / DIFF-OUTER / MIXED unchanged)CircularArcOverlayTest11 / 0CircularDiscOverlayTest12 / 0CircularDiscPolygonOverlayTest7 / 0CircularLineOverlayTest7 / 0OverlayNGCurvePhase0Test19 / 0OverlayNGCurveRatchetTest50 / 0 (hole meets diameter EEEE both orders)OverlayNGCurvePerfGateTest82 / 0 (15% slack)jts-curvesucceededSlack stays 15%. Overlay name is OverlayNGCurve. No new public API. No noder was written in jts-core. P2.5 / N-SS was not started.