Tabnine Logo
MultiPath.lineTo
Code IndexAdd Tabnine to your IDE (free)

How to use
lineTo
method
in
com.esri.core.geometry.MultiPath

Best Java code snippets using com.esri.core.geometry.MultiPath.lineTo (Showing top 7 results out of 315)

origin: prestodb/presto

      format("Invalid input to ST_LineString: consecutive duplicate points at index %s", i + 1));
multipath.lineTo(point.X(), point.Y());
origin: Esri/geometry-api-java

void addPart(int iStart, int cPts) {
  if (cPts < 2)
    return;
  for (int i = 0; i < cPts; i++) {
    GraphicPoint pt = m_offsetPts.get(iStart + i);
    if (i != 0)
      m_resultPath.lineTo(new Point2D(pt.x, pt.y));
    else
      m_resultPath.startPath(new Point2D(pt.x, pt.y));
  }
}
origin: com.esri.geometry/esri-geometry-api

void addPart(int iStart, int cPts) {
  if (cPts < 2)
    return;
  for (int i = 0; i < cPts; i++) {
    GraphicPoint pt = m_offsetPts.get(iStart + i);
    if (i != 0)
      m_resultPath.lineTo(new Point2D(pt.x, pt.y));
    else
      m_resultPath.startPath(new Point2D(pt.x, pt.y));
  }
}
origin: Esri/geometry-api-java

for (int i = 0, n = (int) dcount - 1; i < n; i++) {
  seg.queryCoord(t, point);
  densifiedPoly.lineTo(point);
  t += dt;
  densifiedPoly.lineTo(point);
} else {
  densifiedPoly.closePathWithLine();
origin: com.facebook.presto/presto-geospatial

      format("Invalid input to ST_LineString: consecutive duplicate points at index %s", i + 1));
multipath.lineTo(point.X(), point.Y());
origin: com.esri.geometry/esri-geometry-api

for (int i = 0, n = (int) dcount - 1; i < n; i++) {
  seg.queryCoord(t, point);
  densifiedPoly.lineTo(point);
  t += dt;
  densifiedPoly.lineTo(point);
} else {
  densifiedPoly.closePathWithLine();
origin: prestosql/presto

      format("Invalid input to ST_LineString: consecutive duplicate points at index %s", i + 1));
multipath.lineTo(point.X(), point.Y());
com.esri.core.geometryMultiPathlineTo

Javadoc

Adds a line segment from the last point to the given end coordinates.

Popular methods of MultiPath

  • getPoint
  • getPointCount
  • getPathCount
    Returns the number of paths in this multipath.
  • getPathEnd
    Returns the index immediately following the last index of the path.
  • getPathStart
    Returns the start index of the path.
  • startPath
    Starts a new path at a point.
  • addSegment
    Adds a new segment to this multipath.
  • calculateLength2D
  • _getImpl
  • add
    Appends all paths from another multipath.
  • addPath
    Adds a new path to this multipath.
  • closePathWithLine
    Closes the last path of this multipath with a line segment. The closing segment is a segment that co
  • addPath,
  • closePathWithLine,
  • createInstance,
  • estimateMemorySize,
  • getBoundary,
  • getDescription,
  • getPathSize,
  • getPointByVal,
  • getSegmentCount

Popular in Java

  • Finding current android device location
  • notifyDataSetChanged (ArrayAdapter)
  • getSystemService (Context)
  • setScale (BigDecimal)
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • JLabel (javax.swing)
  • 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