Menu

Commit [r28]  Maximize  Restore  History

Modified update strategy for points.

Now if point's method setCoordinates is called, it copies coordinate object and use this copy. So each point object has its own object of coordinates, also if coordinates are equals.
Point can be updated passing double[] array of coordinates too.

ondrejpolach 2012-04-13

changed /trunk/db4o.sp/.classpath
changed /trunk/db4o.sp/src/com/db4o/sp/api/GeometryFactory.java
changed /trunk/db4o.sp/src/com/db4o/sp/api/geometry/ST_CurvePolygon.java
changed /trunk/db4o.sp/src/com/db4o/sp/api/geometry/ST_Point.java
changed /trunk/db4o.sp/src/com/db4o/sp/envelope/Envelope2D.java
changed /trunk/db4o.sp/tests/com/db4o/sp/api/geometry/ST_CompoundCurveTest.java
changed /trunk/db4o.sp/tests/com/db4o/sp/api/geometry/ST_LineStringTest.java
changed /trunk/db4o.sp/tests/com/db4o/sp/api/geometry/ST_PointTest.java
changed /trunk/db4o.sp/tests/com/db4o/sp/topology/graph/GeometryGraphFactoryTest.java
changed /trunk/db4o.sp/tests/com/db4o/sp/topology/noding/NoderImplTest.java
changed /trunk/db4o.sp/tests/com/db4o/sp/topology/noding/snap/SimpleSnapRounderTest.java
/trunk/db4o.sp/.classpath Diff Switch to side-by-side view
Loading...
/trunk/db4o.sp/src/com/db4o/sp/api/GeometryFactory.java Diff Switch to side-by-side view
Loading...
/trunk/db4o.sp/src/com/db4o/sp/api/geometry/ST_CurvePolygon.java Diff Switch to side-by-side view
Loading...
/trunk/db4o.sp/src/com/db4o/sp/api/geometry/ST_Point.java Diff Switch to side-by-side view
Loading...
/trunk/db4o.sp/src/com/db4o/sp/envelope/Envelope2D.java Diff Switch to side-by-side view
Loading...
/trunk/db4o.sp/tests/com/db4o/sp/api/geometry/ST_CompoundCurveTest.java Diff Switch to side-by-side view
Loading...
/trunk/db4o.sp/tests/com/db4o/sp/api/geometry/ST_LineStringTest.java Diff Switch to side-by-side view
Loading...
/trunk/db4o.sp/tests/com/db4o/sp/api/geometry/ST_PointTest.java Diff Switch to side-by-side view
Loading...
/trunk/db4o.sp/tests/com/db4o/sp/topology/graph/GeometryGraphFactoryTest.java Diff Switch to side-by-side view
Loading...
/trunk/db4o.sp/tests/com/db4o/sp/topology/noding/NoderImplTest.java Diff Switch to side-by-side view
Loading...
/trunk/db4o.sp/tests/com/db4o/sp/topology/noding/snap/SimpleSnapRounderTest.java Diff Switch to side-by-side view
Loading...