-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a new CIF operator "interact" which enumerates disjoint
regions of a given type and retains only those regions which interact with (overlap) another given type. Both sets of types can be either magic database types or CIF temp layers. This will allow the implementation of rules that were not previously possible.
- Loading branch information
1 parent
72368a3
commit 21b810b
Showing
4 changed files
with
280 additions
and
11 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
8.3.515 | ||
8.3.516 |
This file contains 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
Oops, something went wrong.
21b810b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@RTimothyEdwards Just curious, how are non-overlapping shapes that abut processed? Are they considered to be interacting?
21b810b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@d-m-bailey : I am not handling abutting shapes, only overlapping, although it could be added as an option without much difficulty.
21b810b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@d-m-bailey : Because it was trivially easy to do, I have created a new commit today (which will appear on github before tomorrow) which implements all four combinations of adjacency: "overlapping" (meaning truly overlapping, and what I previously named, I think in contravention of normal usage, "interact"), "interacting" (meaning overlapping or touching), "nonoverlapping" (meaning possibly touching but not overlapping), and "noninteracting" (meaning neither touching nor overlapping). That should take care of everything I can think of that I would want to do with the operators.
21b810b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@RTimothyEdwards Excellent! I think that will bring it inline with other tools like Calibre.
21b810b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@d-m-bailey : It gets a bit closer. I still don't have the concept of "stamping".