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: DanProgs <Abenteurer.2901@…> 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)

patch_24945.txt​ (15.0 KB ) - added by DanProgs <Abenteurer.2901@…> 5 hours ago.
24945.patch​ (15.0 KB ) - added by DanProgs <Abenteurer.2901@…> 4 hours ago.
New patch file created
24945_new.patch​ (15.5 KB ) - added by DanProgs <Abenteurer.2901@…> 4 hours ago.
replaced tabs

Download all attachments as: .zip

Change History (5)

by DanProgs <Abenteurer.2901@…>, 5 hours ago

Attachment: patch_24945.txt​ added

comment:1 by stoecker, 5 hours ago

Your patch introduces unwanted tab stops.

by DanProgs <Abenteurer.2901@…>, 4 hours ago

Attachment: 24945.patch​ added

New patch file created

comment:2 by DanProgs <Abenteurer.2901@…>, 4 hours ago

Is the formatting better now?

by DanProgs <Abenteurer.2901@…>, 4 hours ago

Attachment: 24945_new.patch​ added

replaced tabs

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to DanProgs <Abenteurer.2901@…>.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.