Repository navigation
Feature: UniformLineSource, UniformFanSource, center ray - #116
Merged
Merged
Conversation
…ources (#91) Add two-dimensional sources as constructors of the existing types: UniformLineSource (a CollimatedSource, equidistant parallel rays on a line) and UniformFanSource (a PointSource, equidistant angles in a plane), both including the marginal rays, with the samplings DiscLine and ConeFan. The first beam of every generated CollimatedSource and PointSource is now the center ray, which starts at the source position along the source direction. The sunflower patterns of UniformDiscSource and UniformPointSource start at the center, i.e. their first ray moves onto the axis; all other rays are unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #116 +/- ##
==========================================
+ Coverage 88.05% 88.15% +0.09%
==========================================
Files 73 73
Lines 4246 4279 +33
==========================================
+ Hits 3739 3772 +33
Misses 507 507 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Closed
8 tasks
Closed
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.
Features
UniformDiscSource,UniformPointSource: the first ray now lies on the axisUniformLineSource: parallel rays equidistant on a line, marginal rays includedUniformFanSource: rays from one point with equidistant angles in a planeCollimatedSourceandPointSourceBeamletOptics.DiscLine,BeamletOptics.ConeFan: public samplings of the two new sourcesDoc changes
SKILL.md,API.md,CHECKLIST.md,components/beams-and-sources.mdupdated