Merged
Conversation
…ections when plumb lines pass through vertices
…plane distance from point to prism face when determining closest face
stevengj
reviewed
Jul 12, 2018
utils/geom.c
Outdated
| #define DELTAT 1.0e-6 | ||
| #define TMIN (0.0) | ||
| #define TMAX (1.0-DELTAT) | ||
| return ( ( t<TMIN || t>TMAX ) ? 0 : 1 ); |
Collaborator
There was a problem hiding this comment.
… the point into the plane does not lie within the prism face in question
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.
Revised
normal_to_objectimplementation for prisms to account for in-plane distance from point to prism face when determining closest face.One consequence is that the result of
normal_to_objectfor prisms now differs in some cases from the result for blocks, since the latter does not account for in-plane distances. Consequently, I have disabled the portion of the unit test (utils/test-prism.c) that looks at normals to objects.