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 251190 Details for
Bug 460754
Add getLength() method to Line
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 Angle.getReverse() method
460754-Angle-getReverse.patch (text/plain), 729 bytes, created by
Colin Sharples
on 2015-02-28 18:26:47 EST
(
hide
)
Description:
Patch for Angle.getReverse() method
Filename:
MIME Type:
Creator:
Colin Sharples
Created:
2015-02-28 18:26:47 EST
Size:
729 bytes
patch
obsolete
>diff --git a/org.eclipse.gef4.geometry/src/org/eclipse/gef4/geometry/euclidean/Angle.java b/org.eclipse.gef4.geometry/src/org/eclipse/gef4/geometry/euclidean/Angle.java >index 8ea524d..9ff69fe 100644 >--- a/org.eclipse.gef4.geometry/src/org/eclipse/gef4/geometry/euclidean/Angle.java >+++ b/org.eclipse.gef4.geometry/src/org/eclipse/gef4/geometry/euclidean/Angle.java >@@ -182,2 +182,13 @@ > >+ /** >+ * Returns the reverse {@link Angle} of this {@link Angle} in a full circle >+ * as a new {@link Angle} object. >+ * >+ * @return the reverse {@link Angle} of this {@link Angle} in a full circle >+ * as a new {@link Angle} object >+ */ >+ public Angle getReverse() { >+ return Angle.fromRad(rad + RAD_180); >+ } >+ > @Override
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:
matthias.wienand
:
iplog+
Actions:
View
|
Diff
Attachments on
bug 460754
:
251187
|
251188
|
251189
| 251190