congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
GeometryUtils.pointOnPolygonEdge
Code IndexAdd Tabnine to your IDE (free)

How to use
pointOnPolygonEdge
method
in
mil.nga.sf.util.GeometryUtils

Best Java code snippets using mil.nga.sf.util.GeometryUtils.pointOnPolygonEdge (Showing top 6 results out of 315)

origin: mil.nga/sf

/**
 * Check if the point is on the polygon ring edge
 * 
 * @param point
 *            point
 * @param ring
 *            polygon ring
 * @return true if on the polygon edge
 * @since 1.0.5
 */
public static boolean pointOnPolygonEdge(Point point, LineString ring) {
  return pointOnPolygonEdge(point, ring, DEFAULT_EPSILON);
}
origin: mil.nga/sf

/**
 * Check if the point is on the polygon ring edge points
 * 
 * @param point
 *            point
 * @param points
 *            polygon points
 * @return true if on the polygon edge
 * @since 1.0.5
 */
public static boolean pointOnPolygonEdge(Point point, List<Point> points) {
  return pointOnPolygonEdge(point, points, DEFAULT_EPSILON);
}
origin: mil.nga/sf

/**
 * Check if the point is on the polygon edge
 * 
 * @param point
 *            point
 * @param polygon
 *            polygon
 * @return true if on the polygon edge
 * @since 1.0.5
 */
public static boolean pointOnPolygonEdge(Point point, Polygon polygon) {
  return pointOnPolygonEdge(point, polygon, DEFAULT_EPSILON);
}
origin: mil.nga/sf

/**
 * Check if the point is on the polygon ring edge
 * 
 * @param point
 *            point
 * @param ring
 *            polygon ring
 * @param epsilon
 *            epsilon line tolerance
 * @return true if on the polygon edge
 * @since 1.0.5
 */
public static boolean pointOnPolygonEdge(Point point, LineString ring,
    double epsilon) {
  return pointOnPolygonEdge(point, ring.getPoints(), epsilon);
}
origin: mil.nga/sf

/**
 * Check if the point is on the polygon edge
 * 
 * @param point
 *            point
 * @param polygon
 *            polygon
 * @param epsilon
 *            epsilon line tolerance
 * @return true if on the polygon edge
 * @since 1.0.5
 */
public static boolean pointOnPolygonEdge(Point point, Polygon polygon,
    double epsilon) {
  return polygon.numRings() > 0
      && pointOnPolygonEdge(point, polygon.getRings().get(0), epsilon);
}
origin: mil.nga/sf

contains = pointOnPolygonEdge(point, points);
mil.nga.sf.utilGeometryUtilspointOnPolygonEdge

Javadoc

Check if the point is on the polygon ring edge points

Popular methods of GeometryUtils

  • simplifyPoints
    Simplify the ordered points (representing a line, polygon, etc) using the Douglas Peucker algorithm
  • hasM
    Determine if the geometries contain a M value
  • hasZ
    Determine if the geometries contain a Z value
  • closedPolygon
    Check if the polygon outer ring is explicitly closed, where the first and last point are the same
  • distance
    Get the Pythagorean theorem distance between two points
  • getCentroid
    Get the centroid point of the Geometry
  • getDimension
    Get the dimension of the Geometry, 0 for points, 1 for curves, 2 for surfaces. If a collection, the
  • minimize
    Minimize the polyhedral surface
  • minimizeGeometry
    Minimize the geometry using the shortest x distance between each connected set of points. The result
  • normalize
    Normalize the polyhedral surface
  • normalizeGeometry
    Normalize the geometry so all points outside of the min and max value range are adjusted to fall wit
  • perpendicularDistance
    Calculate the perpendicular distance between the point and the line represented by the start and end
  • normalizeGeometry,
  • perpendicularDistance,
  • pointInPolygon,
  • pointOnLine,
  • pointOnPath

Popular in Java

  • Updating database using SQL prepared statement
  • getSharedPreferences (Context)
  • runOnUiThread (Activity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • Path (java.nio.file)
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now