Package org.geotools.geometry.iso.util.algorithm2D

Examples of org.geotools.geometry.iso.util.algorithm2D.LineLineIntersection2D


  }

  private boolean validPatch(Line2D lineA[], Line2D lineB[]) {
    int nA = lineA.length;
    int nB = lineB.length;
    final LineLineIntersection2D intsc = new LineLineIntersection2D();
    for (int iA = 0; iA<nA; ++iA) {
      for (int iB = 0; iB<nB; ++iB) {
        intsc.setValues(lineA[iA],lineB[iB]);
        if (!intsc.isCoincident() && (intsc.isBI() || intsc.isIB())) {
          return false;
        }
      }
    }
    return true;
View Full Code Here

TOP

Related Classes of org.geotools.geometry.iso.util.algorithm2D.LineLineIntersection2D

Copyright © 2018 www.massapicom. 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.