gvSIG bugs #4323

Envelope3D.convert(ICoordTrans trans) produces wrong result

Added by Cesar Martinez Izquierdo almost 8 years ago. Updated over 7 years ago.

Status:Closed% Done:

0%

Priority:NormalSpent time:-
Assignee:-
Category:-
Target version:2.3.0-2442 (rev. org.gvsig.desktop-2.0.149)
Severity:Minor Add-on version:
gvSIG version:2.3.0 Add-on build:
gvSIG build: Add-on resolve version:
Operative System: Add-on resolve build:
Keywords: Proyecto:
Has patch:Yes Hito:
Add-on name:Unknown

Description

There is some mistakes in Envelope3D.convert(ICoordTrans trans) which produces incorrect converted values:
- it returns the x coordinate twice: (x, x, z) instead of (x, y, z)
- it returns a cloned Envelope2D if the transformation is null (instead of a cloned Envelope3D)

envelope3D.diff Magnifier (1.28 KB) Cesar Martinez Izquierdo, 08/17/2016 06:52 PM

Associated revisions

Revision 42930
Added by Joaquín del Cerro Murciano over 7 years ago

refs #4323, patch from Cesar Martinez. Fix mistakes in Envelope3D.convert:
- it returns the x coordinate twice: (x, x, z) instead of (x, y, z)
- it returns a cloned Envelope2D if the transformation is null (instead of a cloned Envelope3D)

History

#2 Updated by Joaquín del Cerro Murciano over 7 years ago

  • Target version set to 2.3.0-2442 (rev. org.gvsig.desktop-2.0.149)
  • Status changed from New to Fixed

Metido el parche.
Gracias.

#3 Updated by Álvaro Anguix over 7 years ago

  • Status changed from Fixed to Closed

Also available in: Atom PDF