Package org.geotools.referencing.operation.matrix

Examples of org.geotools.referencing.operation.matrix.Matrix1


   * @see org.opengis.referencing.operation.MathTransform#derivative(org.opengis.geometry.DirectPosition)
   */
  public Matrix derivative(DirectPosition point)
      throws MismatchedDimensionException, TransformException {
    checkDimension(point);
    return new Matrix1(derivative(point.getOrdinate(0)));
  }
View Full Code Here


  }

  public Matrix derivative(DirectPosition point)
      throws MismatchedDimensionException, TransformException {
    ColorMapUtilities.checkDimension(point);
    return new Matrix1(derivative(point.getOrdinate(0)));
  }
View Full Code Here

   * Gets the derivative of this transform at a point.
   */
  public Matrix derivative(final DirectPosition point)
      throws TransformException {
    PiecewiseUtilities.checkDimension(point);
    return new Matrix1(derivative(point.getOrdinate(0)));
  }
View Full Code Here

  public Matrix derivative(DirectPosition dp)
      throws MismatchedDimensionException, TransformException {
    PiecewiseUtilities.ensureNonNull("DirectPosition", dp);
    PiecewiseUtilities.checkDimension(dp);
    if(checkContainment(dp.getOrdinate(0)))
      return new Matrix1(1);
    throw new IllegalArgumentException(Errors.format(ErrorKeys.ILLEGAL_ARGUMENT_$1,"DirectPosition"));

  }
View Full Code Here

   */
  public Matrix derivative(final DirectPosition point)
      throws TransformException {
    PiecewiseUtilities.ensureNonNull("DirectPosition", point);
    PiecewiseUtilities.checkDimension(point);
    return new Matrix1(derivative(point.getOrdinate(0)));
  }
View Full Code Here

                    return derivative((Point2D) point);
                }
                return derivative(new Point2D.Double(point.getOrdinate(0), point.getOrdinate(1)));
            }
            if (this instanceof MathTransform1D) {
                return new Matrix1(((MathTransform1D) this).derivative(point.getOrdinate(0)));
            }
        }
        throw new TransformException(Errors.format(ErrorKeys.CANT_COMPUTE_DERIVATIVE));
    }
View Full Code Here

     * coordinate point is required and {@link Double#NaN} may be a legal output value for
     * some users.
     */
    @Override
    public Matrix derivative(final DirectPosition point) throws TransformException {
        return new Matrix1(scale);
    }
View Full Code Here

    /**
     * Gets the derivative of this transform at a point.
     */
    public final Matrix derivative(final DirectPosition point) throws TransformException {
        checkDimension(point);
        return new Matrix1(derivative(point.getOrdinate(0)));
    }
View Full Code Here

TOP

Related Classes of org.geotools.referencing.operation.matrix.Matrix1

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.