Revision 25766

View differences:

trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/layers/FLyrVect.java
1662 1662
    private boolean isOnePoint(AffineTransform graphicsTransform, ViewPort viewPort, IGeometry geom, int[] xyCoords) {
1663 1663
    	boolean onePoint = false;
1664 1664
    	int type=geom.getGeometryType() % FShape.Z;
1665
    	if (type!=FShape.POINT && type!=FShape.MULTIPOINT) {
1665
    	if (type!=FShape.POINT && type!=FShape.MULTIPOINT && type!=FShape.NULL) {
1666 1666

  
1667 1667
			Rectangle2D geomBounds = geom.getBounds2D();
1668 1668

  
trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/rendering/NaturalIntervalGenerator.java
60 60
 * @author Vicente Caballero Navarro
61 61
 */
62 62
public class NaturalIntervalGenerator {
63
	private DataSource ds;
64
	private String msFieldName;
65
	private int miNumIntervalosSolicitados;
66
	private int miNumIntervalosGenerados;
67
	private double[] mdaValoresRuptura;
68
	private double[] mdaValInit;
63
	protected DataSource ds;
64
	protected String msFieldName;
65
	protected int miNumIntervalosSolicitados;
66
	protected int miNumIntervalosGenerados;
67
	protected double[] mdaValoresRuptura;
68
	protected double[] mdaValInit;
69 69

  
70 70
	/**
71 71
	 * Crea un nuevo IntervalGenerator.
......
98 98
	 *
99 99
	 * @return True si ha conseguido correctamente la posici�n en el vector.
100 100
	 */
101
	private boolean mbObtenerPosicionEnVector(ArrayList rVectorDatos,
101
	protected boolean mbObtenerPosicionEnVector(ArrayList rVectorDatos,
102 102
		double vdValorAInsertar, int[] rlIndiceCorrespondiente,
103 103
		boolean[] rbNuevoElemento) {
104 104
		int llIndiceIzq;
......
511 511
	 * @throws com.iver.cit.gvsig.fmap.DriverException
512 512
	 * @throws DriverException
513 513
	 */
514
	private boolean mbObtenerDatos(ArrayList rVectorDatos, double[] rdMediaTotal)
514
	protected boolean mbObtenerDatos(ArrayList rVectorDatos, double[] rdMediaTotal)
515 515
		throws ReadDriverException {
516 516
		double ldValor;
517 517

  
......
874 874
	 *
875 875
	 * @author Vicente Caballero Navarro
876 876
	 */
877
	private class udtDatosEstudio {
878
		private double Valor; //
879
		private long Coincidencias;
877
	public class udtDatosEstudio {
878
		public double Valor; //
879
		public long Coincidencias;
880 880
	}
881 881

  
882 882
	/**
......
885 885
	 *
886 886
	 * @author Vicente Caballero Navarro
887 887
	 */
888
	private class udtDatosClase {
889
		private long NumElementos; //             'N� total de elementos que hay en la clase
890
		private double Media; //                 'Media de la clase
891
		private double SumaTotal; //              'Suma total de los elementos
888
	public class udtDatosClase {
889
		public long NumElementos; //             'N� total de elementos que hay en la clase
890
		public double Media; //                 'Media de la clase
891
		public double SumaTotal; //              'Suma total de los elementos
892 892

  
893 893
		//'ProductoTotal          'Producto total de los elementos '�dar� problemas de desbordamiento?
894
		private double SumaCuadradoTotal; //      'Suma del total de los cuadrados de los elementos
895
		private double SDCM; //                  'Suma de la desviaci�n t�pica de los elementos de la clase respecto de la media de la clase
894
		public double SumaCuadradoTotal; //      'Suma del total de los cuadrados de los elementos
895
		public double SDCM; //                  'Suma de la desviaci�n t�pica de los elementos de la clase respecto de la media de la clase
896 896
	}
897 897
	/**
898 898
	 * Devuelve el valor en un double del Value que se pasa como par�metro.
......
902 902
	 * @return valor.
903 903
	 * @throws Exception
904 904
	 */
905
	private double getValue(Value value) throws Exception {
905
	protected double getValue(Value value) throws Exception {
906 906
		if (value instanceof IntValue) {
907 907
			return ((IntValue) value).intValue();
908 908
		} else if (value instanceof LongValue) {
trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/rendering/QuantileIntervalGenerator.java
58 58
 * @author Vicente Caballero Navarro
59 59
 */
60 60
public class QuantileIntervalGenerator {
61
	private DataSource sds;
62
	private String msFieldName;
63
	private int miNumIntervalosSolicitados;
64
	private double[] mdaValoresRuptura;
65
	private double[] mdaValInit;
66
	private int num = 0;
61
	protected DataSource sds;
62
	protected String msFieldName;
63
	protected int miNumIntervalosSolicitados;
64
	protected double[] mdaValoresRuptura;
65
	protected double[] mdaValInit;
66
	protected int num = 0;
67 67

  
68 68
	/**
69 69
	 * Crea un nuevo QuantileIntervalGenerator.
......
146 146
	 * @param coincidencia ?ndice.
147 147
	 * @param vdValorAInsertar Valor a insertar.
148 148
	 */
149
	private void insertarEnVector(ArrayList rVectorDatos,
149
	protected void insertarEnVector(ArrayList rVectorDatos,
150 150
		ArrayList coincidencia, Value vdValorAInsertar) {
151 151
		int llIndiceIzq;
152 152
		int llIndiceDer;
......
221 221
	 *
222 222
	 * @return valor.
223 223
	 */
224
	private double getValue(Value value) {
224
	protected double getValue(Value value) {
225 225
		if (value instanceof IntValue) {
226 226
			return ((IntValue) value).intValue();
227 227
		} else if (value instanceof LongValue) {

Also available in: Unified diff