PolygonClipping: CLIPLINE produces NaN when line to clip is parallel to the maxX of the clip window #10656
Closed
1 of 3 tasks
Labels
Defect
Includes code to repair a defect in EnergyPlus
LowComplexityApproved
Used for subcontractor defect complexity requests
Issue overview
Here is an example:
Graphically, this looks like this:
Because dx is 0, This is a divide by zero on that line:
EnergyPlus/src/EnergyPlus/SolarShading.cc
Line 3996 in eb6665f
Details
Some additional details for this issue (if relevant):
Checklist
Add to this list or remove from it as applicable. This is a simple templated set of guidelines.
The text was updated successfully, but these errors were encountered: