P2.1 CurveSegmentString — nodes only (OV-P2 / Bar 2) - #16
Open
grootstebozewolf wants to merge 1 commit into
Open
P2.1 CurveSegmentString — nodes only (OV-P2 / Bar 2)#16grootstebozewolf wants to merge 1 commit into
grootstebozewolf wants to merge 1 commit into
Conversation
Package-private curve piece (chord or arc) plus a noder that returns the discrete node set the kits already compute. MIXED is the first miss. No faces, no N-SS, no public API. 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/cc-nest-annulus-0a09@ d33b0cb (draft #15). Do not merge this into #7. This is OV-P2 / Bar 2, not OV-P1. Does not merge #12 / #13 / #15 / #7. Does not push tofeature/sfa-curve-rgror master.Sentence
The noder is the named-miss suite, one assembly rule at a time. Nodes first. Densify is never a noder.
What this is
P2.1 is
CurveSegmentString, not a free-floatingCircularNoderof rawCoordinate[].A package-private curve-module string: one piece is a straight chord or a circular arc (control triple / centre-radius-sweep — the same atom
TwoNodeClip.Edgealready is). A package-privateCurveSegmentNoderintersects those strings and returns the discrete node set, ornull.Lives in
org.locationtech.jts.operation.overlayng.curve(same package asTwoNodeClip) sointersectCircles/isOnSweep/ line–circle stay package-private.org.locationtech.jts.noding.curvewould need a public bridge; that is P2.5-shaped. Not a coreSegmentString/Noder. Not N-SS.Pins
(3.5, ±√12.75)— bit-identical toTwoNodeClip.intersectCircles(0, ±5)— same segment–circle hits(±3, 4)(±√24, ±1)(±1, 0),(±1, √24)(±1, 0)+ tangent(0, 5)— the tangent is a nodeMIXED is the first miss.
H-SHELL-N-MIXED(collinear overlap) staysnull. So do pinch (H-ANNULUS-TANGENT) and holes (H-SHELL-HOLE-CROSS,H-SHELL-HOLE-X). No overlap-as-edge (P2.2). No faces. No hole punch (P2.3). No two-hole (P2.4). No public core noder (P2.5).TwoShellClippair hits now go throughCurveSegmentString.intersect— one place for the math, kits still assemble faces.What this is not
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:
CurveSegmentStringTest11 / 0CompoundCurveShellOverlayTest24 / 0CircularArcOverlayTest11 / 0CircularDiscOverlayTest12 / 0CircularDiscPolygonOverlayTest7 / 0OverlayNGCurvePhase0Test19 / 0OverlayNGCurveRatchetTest44 / 0OverlayNGCurvePerfGateTest78 / 0 (15% slack)mvn -pl modules/curve test: 600 tests, 0 failuresjts-curvesucceededSlack stays 15%. Overlay name is OverlayNGCurve. No new public API.