Opened 7 years ago
Last modified 3 years ago
#805 new defect
Buffered corners exceeding mitre limit should behave the same as a bevel
Reported by: | MShepherd | Owned by: | strk |
---|---|---|---|
Priority: | major | Milestone: | 3.6.6 |
Component: | Core | Version: | 3.6.0 |
Severity: | Unassigned | Keywords: | |
Cc: |
Description
Buffering on a corner that exceeds the mitre limit (in JOIN_MITRE mode) does not produce the same results as a bevel.
From the doc for BufferParameters::setMitreLimit(): "Corners with a ratio which exceed the limit will be beveled."
With a join style of JOIN_MITRE, the edges connected to a "bevelled" corner (one which exceeds the mitreLimit) do not lie parallel to the edges of the original input.
With a join style of JOIN_BEVEL, the edges connected to a bevelled corner do lie parallel to the edges from the original input.
In both modes, the edges connected to the new corner should be parallel to the edges from the original input.
Please see attached C++ repro.
Attachments (1)
Change History (5)
by , 7 years ago
Attachment: | mitreBug.cpp added |
---|
comment:3 by , 6 years ago
Milestone: | 3.6.3 → 3.6.4 |
---|
A C++ file that shows the bug.