Skip to content

Conversation

@th-skam
Copy link
Collaborator

@th-skam th-skam commented Jul 28, 2025

Issues

Close #31
Close #39
Close #28

@th-skam
Copy link
Collaborator Author

th-skam commented Jul 29, 2025

Coupling points are removed based on their position relative to the needle tip. Specifically, for each coupling point, compute the dot product between:

  • the vector $\overrightarrow p$ from the needle tip to the coupling point, and
  • the unit vector $\overrightarrow n$, which points in the direction of the last needle segment and defines the plane perpendicular to that segment.

If the dot product $\overrightarrow p \dot{} \overrightarrow n$ is positive, the coupling point is in front of the needle tip and should be removed.

image

This check assumes that the needle will not diverge dramatically from each original orientation.

@th-skam th-skam merged commit 00c14b7 into master Jul 29, 2025
@th-skam th-skam deleted the cyclesInsertion branch July 29, 2025 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

2 participants