Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 260835 Details for
Bug 491405
Line.getDirectionCCW() is incorrect
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Patch for Line.getDirectionCCW()
line-getdirectionccw.patch (text/plain), 608 bytes, created by
Colin Sharples
on 2016-04-10 20:51:29 EDT
(
hide
)
Description:
Patch for Line.getDirectionCCW()
Filename:
MIME Type:
Creator:
Colin Sharples
Created:
2016-04-10 20:51:29 EDT
Size:
608 bytes
patch
obsolete
>diff --git a/org.eclipse.gef4.geometry/src/org/eclipse/gef4/geometry/planar/Line.java b/org.eclipse.gef4.geometry/src/org/eclipse/gef4/geometry/planar/Line.java >index 08814cc..cc168d9 100644 >--- a/org.eclipse.gef4.geometry/src/org/eclipse/gef4/geometry/planar/Line.java >+++ b/org.eclipse.gef4.geometry/src/org/eclipse/gef4/geometry/planar/Line.java >@@ -176,7 +176,7 @@ > public Angle getDirectionCCW() { > Point start = getP1(); > Point end = getP2(); >- return Angle.fromRad(Math.atan2(end.y - start.y, end.x - start.y)); >+ return Angle.fromRad(Math.atan2(end.y - start.y, end.x - start.x)); > } > > /**
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
nyssen
:
iplog+
Actions:
View
|
Diff
Attachments on
bug 491405
: 260835