Package org.opengis.geometry.coordinate

Examples of org.opengis.geometry.coordinate.PointArray


     * @param row
     * @param column
     * @return DirectPosition
     */
     DirectPosition getInternal( int row, int column ){
        PointArray pointArray = pointGrid[row];
        return (DirectPosition) pointArray.get( column );
    }
View Full Code Here


    SurfaceBoundary sb2 = (SurfaceBoundary) surface22.getBoundary();
    Ring exterior = sb2.getExterior();
    List<Ring> interiors2 = sb2.getInteriors();
    Collection<? extends Primitive> extCurve = exterior.getElements();
    Iterator<? extends Primitive> iter = extCurve.iterator();
    PointArray samplePoints = null;
    while (iter.hasNext()) {
      Curve curve2 = (Curve) iter.next();
      List<? extends CurveSegment> segs2 = curve2.getSegments();
      Iterator<? extends CurveSegment> iter2 = segs2.iterator();
      while (iter2.hasNext()) {
        if (samplePoints == null) {
          samplePoints = iter2.next().getSamplePoints();
        }
        else {
          samplePoints.addAll(iter2.next().getSamplePoints());
        }
      }
    }
   
  }
View Full Code Here

TOP

Related Classes of org.opengis.geometry.coordinate.PointArray

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.