Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

156
 
161
 
161
 
PointDecoder.java
_>11 /*
<>2 - * $Id: PointDecoder.java 156 2010-01-28 22:59:30Z maesenka $
  2+ * $Id: PointDecoder.java 161 2010-03-06 18:08:59Z maesenka $
33  *
 44  * This file is part of Hibernate Spatial, an extension to the
 55  * hibernate ORM solution for geographic data.
     
 !
4343         return getGeometryFactory().createPoint((Coordinate) null);
 4444     }
 4545 
<>46 -    protected Point createGeometry(SqlGeometryV1 nativeGeom) {
  46+    protected Point createGeometry(SqlServerGeometry nativeGeom) {
4747         return createPoint(nativeGeom, 0);
 4848     }
 4949 
 5050     @Override
<>51 -    protected Point createGeometry(SqlGeometryV1 nativeGeom, int shapeIndex) {
 52 -        int figureOffset = nativeGeom.getStartFigureForShape(shapeIndex);
 53 -        int pntOffset = nativeGeom.getStartPointForFigure(figureOffset);
  51+    protected Point createGeometry(SqlServerGeometry nativeGeom, int shapeIndex) {
  52+        int figureOffset = nativeGeom.getFiguresForShape(shapeIndex).start;
  53+        int pntOffset = nativeGeom.getPointsForFigure(figureOffset).start;
5454         return createPoint(nativeGeom, pntOffset);
 5555     }
 5656 
<>57 -    private Point createPoint(SqlGeometryV1 nativeGeom, int pntOffset){
  57+    private Point createPoint(SqlServerGeometry nativeGeom, int pntOffset) {
<_5858         return getGeometryFactory().createPoint(nativeGeom.getCoordinate(pntOffset));
 5959     }
 6060 
FishEye: Open Source License registered to Hibernate Spatial.
Your maintenance has expired. You can renew your license at http://www.atlassian.com/fisheye/renew
Atlassian FishEye, Subversion, CVS & Perforce analysis. (Version:1.5.2 Build:build-298 2008-05-26 ) - Administration - Page generated 2010-09-09 22:40 +0200