Examples of Plane3D


Examples of com.vividsolutions.jts.math.Plane3D

  private Plane3D findBestFitPlane(Polygon poly)
  {
    CoordinateSequence seq = poly.getExteriorRing().getCoordinateSequence();
    Coordinate basePt = averagePoint(seq);
    Vector3D normal = averageNormal(seq);
    return new Plane3D(normal, basePt);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.