[Marble-bugs] [marble] [Bug 331673] New: Equality operators for GeoDataLatLonQuad, GeoDataLatLonBox, GeoDataLatLonAltBox, GeoDataLod and GeoDataRegion

Dennis Nienhüser earthwings at gentoo.org
Sun Mar 2 08:01:06 UTC 2014


https://bugs.kde.org/show_bug.cgi?id=331673

            Bug ID: 331673
           Summary: Equality operators for GeoDataLatLonQuad,
                    GeoDataLatLonBox, GeoDataLatLonAltBox, GeoDataLod and
                    GeoDataRegion
    Classification: Unclassified
           Product: marble
           Version: 1.7 (KDE 4.12)
          Platform: unspecified
                OS: Linux
            Status: UNCONFIRMED
          Keywords: google-code-in, junior-jobs
          Severity: task
          Priority: NOR
         Component: general
          Assignee: marble-bugs at kde.org
          Reporter: earthwings at gentoo.org

Make it possible to check for equality using operator== in the following
classes:
- GeoDataLatLonQuad (check the coordinates of the four corners)
- GeoDataLatLonBox (check corners and rotation)
- GeoDataLatLonAltBox (like GeoDataLatLonBox, but check minAltitude,
maxAltitude and altitudeMode as well)
- GeoDataLod (check min and max lodPixels and fadeExtent)
- GeoDataRegion (check latLonAltBox and lod)

If bug 331666 is done by the time you work on this, integrate the equals()
method of GeoDataObject into the operator== implementations.

Add unit test methods for each of the classes to tests/TestEquality.cpp. Make
sure to compile Marble with the following cmake options enabled:
BUILD_MARBLE_TESTS=TRUE, BUILD_MARBLE_TOOLS=TRUE. Execute tests/TestEquality
and make sure no errors come up. Use tools/kml2kml to analyze errors and fix
the tag writers, if needed. Submit a review request at
https://git.reviewboard.kde.org with the marble group as reviewers.

Please leave a comment here (e.g. "I want to work on this task.") if you start
working on this task to avoid multiple people working on it at the same time.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Marble-bugs mailing list