Package processing.core

Examples of processing.core.PVector.dist()


  }

  @Override
  public boolean isInside(float checkX, float checkY, float x, float y) {
    PVector pos = new PVector(x, y);
    return pos.dist(new PVector(checkX, checkY)) < radius; // FIXME must be zoom dependent
  }

  /**
   * Sets the radius of this marker. Used for the displayed ellipse.
   *
 
View Full Code Here

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.