Skip to content

Update distanceTo method for GSegment#8

Merged
jecisc merged 8 commits intopharo-contributions:masterfrom
ThalesGroup:master
Mar 12, 2026
Merged

Update distanceTo method for GSegment#8
jecisc merged 8 commits intopharo-contributions:masterfrom
ThalesGroup:master

Conversation

@LANDAISB
Copy link
Copy Markdown

Add an implementation for measuring distance specific for segments

@jecisc
Copy link
Copy Markdown
Member

jecisc commented Jan 19, 2026

Thanks for the contribution!

It would be great to have some tests for this feature.

Also, if you have a link to the algo used it might be nice to add it in a comment of the method

@coveralls
Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 21145050336

Details

  • 16 of 16 (100.0%) changed or added relevant lines in 1 file are covered.
  • 17 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-1.2%) to 89.968%

Files with Coverage Reduction New Missed Lines %
src/Geometry/GAngle.class.st 17 77.42%
Totals Coverage Status
Change from base Build 6967491500: -1.2%
Covered Lines: 1139
Relevant Lines: 1266

💛 - Coveralls

@LANDAISB
Copy link
Copy Markdown
Author

Hi, I add some comments and just asserts on existing test

@jecisc jecisc merged commit 6983eca into pharo-contributions:master Mar 12, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants