Modify ↓
Opened 5 hours ago
Last modified 4 hours ago
#24945 new task
refactor(aligninline): optimize geometry calculations and fix numerical edge cases
| Reported by: | Owned by: | team | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core | Version: | |
| Keywords: | Cc: |
Description
- Improve Line constructor and intersectionCommand by caching
Node.getEastNorth()results, preventing redundant dynamic coordinate calculations. - Replace manual Euclidean distance calculation with
Math.hypot(a, b)in Line constructor to eliminate risk of floating-point overflow/underflow. - Fix English grammar typo ("parallels ways" to "parallel ways") in user-facing translation string.
Attachments (3)
Note:
See TracTickets
for help on using tickets.



Your patch introduces unwanted tab stops.