Package de.fhpotsdam.unfolding.geo

Source Code of de.fhpotsdam.unfolding.geo.LinearProjection

package de.fhpotsdam.unfolding.geo;

import processing.core.PVector;

public class LinearProjection extends AbstractProjection {

  public LinearProjection() {
    super(0);
  }

  public LinearProjection(float zoom) {
    super(zoom, new Transformation(1, 0, 0, 0, 1, 0));
  }

  public LinearProjection(float zoom, Transformation transformation) {
    super(zoom, transformation);
 
 
  public PVector rawProject(PVector point) {
    return new PVector(point.x, point.y);
  }

  public PVector rawUnproject(PVector point) {
    return new PVector(point.x, point.y);
  }

}
TOP

Related Classes of de.fhpotsdam.unfolding.geo.LinearProjection

TOP
Copyright © 2018 www.massapi.com. 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.