public String toString() { return WKTWriter.toLineString(pt[0], pt[1]); } }
public String toString() { return WKTWriter.toLineString(inputLines[0][0], inputLines[0][1]) + " - " + WKTWriter.toLineString(inputLines[1][0], inputLines[1][1]) + getTopologySummary(); }
public String toString() { return WKTWriter.toLineString(new Coordinate(min, 0), new Coordinate(max, 0)); }
private void printNode(IntervalRTreeNode node) { System.out.println(WKTWriter.toLineString(new Coordinate(node.min, level), new Coordinate(node.max, level))); }
/** * Returns an error message indicating the segments containing * the intersection. * * @return an error message documenting the intersection location */ public String getErrorMessage() { if (isValid) return "no intersections found"; Coordinate[] intSegs = segInt.getIntersectionSegments(); return "found non-noded intersection between " + WKTWriter.toLineString(intSegs[0], intSegs[1]) + " and " + WKTWriter.toLineString(intSegs[2], intSegs[3]); }
public String toString() { return WKTWriter.toLineString(new CoordinateArraySequence(pts)); } }
private void checkTriangleSize(Coordinate[] pts) { String loc = ""; if (pts.length >= 2) loc = WKTWriter.toLineString(pts[0], pts[1]); else { if (pts.length >= 1) loc = WKTWriter.toPoint(pts[0]); } // Assert.isTrue(pts.length == 4, "Too few points for visited triangle at " + loc); //com.vividsolutions.jts.util.Debug.println("too few points for triangle at " + loc); }
public String toString() { return WKTWriter.toLineString(new CoordinateArraySequence(pts)); } }
/** * Converts this edge to a WKT two-point <tt>LINESTRING</tt> indicating * the geometry of this edge. * * @return a String representing this edge's geometry */ public String toString() { Coordinate p0 = vertex.getCoordinate(); Coordinate p1 = dest().getCoordinate(); return WKTWriter.toLineString(p0, p1); } }
+ ", DD result = " + isInCircleDD + ", CC result = " + isInCircleCC + ")"); System.out.println(WKTWriter.toLineString(new CoordinateArraySequence( new Coordinate[] { a, b, c, p }))); System.out.println("Circumcentre = " + WKTWriter.toPoint(circumCentre)
/** * Checks that two geometries are at least a minumum distance apart. * * @param g1 a geometry * @param g2 a geometry * @param minDist the minimum distance the geometries should be separated by */ private void checkMinimumDistance(Geometry g1, Geometry g2, double minDist) { DistanceOp distOp = new DistanceOp(g1, g2, minDist); minDistanceFound = distOp.distance(); if (minDistanceFound < minDist) { isValid = false; Coordinate[] pts = distOp.nearestPoints(); errorLocation = distOp.nearestPoints()[1]; errorIndicator = g1.getFactory().createLineString(pts); errMsg = "Distance between buffer curve and input is too small " + "(" + minDistanceFound + " at " + WKTWriter.toLineString(pts[0], pts[1]) +" )"; } }
public String toString() { return WKTWriter.toLineString(pt[0], pt[1]); } }
errMsg = "Distance between buffer curve and input is too large " + "(" + maxDistanceFound + " at " + WKTWriter.toLineString(pts[0], pts[1]) +")";
public String toString() { return WKTWriter.toLineString(new Coordinate(min, 0), new Coordinate(max, 0)); }
public String toString() { return WKTWriter.toLineString(inputLines[0][0], inputLines[0][1]) + " - " + WKTWriter.toLineString(inputLines[1][0], inputLines[1][1]) + getTopologySummary(); }
public String toString() { return WKTWriter.toLineString(new CoordinateArraySequence(pts)); } }
public String toString() { return WKTWriter.toLineString(new CoordinateArraySequence(pts)); } }
private void checkTriangleSize(Coordinate[] pts) { String loc = ""; if (pts.length >= 2) loc = WKTWriter.toLineString(pts[0], pts[1]); else { if (pts.length >= 1) loc = WKTWriter.toPoint(pts[0]); } // Assert.isTrue(pts.length == 4, "Too few points for visited triangle at " + loc); //com.vividsolutions.jts.util.Debug.println("too few points for triangle at " + loc); }
/** * Gets a string representation of this object. * * @return a string representing the object */ public String toString() { return WKTWriter.toLineString(new CoordinateArraySequence(getCoordinates())); }
/** * Converts this edge to a WKT two-point <tt>LINESTRING</tt> indicating * the geometry of this edge. * * @return a String representing this edge's geometry */ public String toString() { Coordinate p0 = vertex.getCoordinate(); Coordinate p1 = dest().getCoordinate(); return WKTWriter.toLineString(p0, p1); } }