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

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

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

origin: mil.nga/sf

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

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

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

Javadoc

Check if the point is on the line represented by the 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,
  • pointOnPath,
  • pointOnPolygonEdge

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
  • Top Sublime Text plugins
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