[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdeedu/kstars/kstars/htmesh
From: Alexey Khudyakov <alexey.skladnoy () gmail ! com>
Date: 2011-03-02 21:06:59
Message-ID: 20110302210659.BDDDEAC8C7 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1223411 by khudyakov:
Remove overloaded function idByPoint(ra,dec)
M +1 -1 HTMesh.cpp
M +0 -5 SpatialIndex.h
D SpatialIndex.hxx
--- trunk/KDE/kdeedu/kstars/kstars/htmesh/HTMesh.cpp #1223410:1223411
@@ -67,7 +67,7 @@
Trixel HTMesh::index(double ra, double dec) const
{
- return (Trixel) htm->idByPoint(ra, dec) - magicNum;
+ return (Trixel) htm->idByPoint( SpatialVector(ra, dec) ) - magicNum;
}
bool HTMesh::performIntersection(RangeConvex* convex, BufNum bufNum) {
--- trunk/KDE/kdeedu/kstars/kstars/htmesh/SpatialIndex.h #1223410:1223411
@@ -87,9 +87,6 @@
The ID of the node is returned. */
uint64 idByPoint(const SpatialVector & vector) const;
- /// find a node by giving a ra,dec in degrees.
- uint64 idByPoint(const float64 & ra, const float64 & dec) const;
-
/// return the actual vertex vectors
void nodeVertex(const uint64 id,
SpatialVector & v1,
@@ -159,6 +156,4 @@
friend class RangeConvex;
};
-
-#include "SpatialIndex.hxx"
#endif
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic