Examples of createDirectPosition()


Examples of org.opengis.geometry.PositionFactory.createDirectPosition()

    line3.add(new PositionImpl(positionFactory.createDirectPosition(new double[]{100, 60})));
    line3.add(new PositionImpl(positionFactory.createDirectPosition(new double[]{100, 40})));

    ArrayList<Position> line4 = new ArrayList<Position>();
    line4.add(new PositionImpl(positionFactory.createDirectPosition(new double[]{100, 40})));
    line4.add(new PositionImpl(positionFactory.createDirectPosition(new double[]{80, 30})));
    line4.add(new PositionImpl(positionFactory.createDirectPosition(new double[]{50, 20})));
   
    /* Setting up Array of these LineStrings */
    ArrayList<CurveSegment> tLineList1 = new ArrayList<CurveSegment>();
    tLineList1.add(tGeomFactory.createLineString(line1));
View Full Code Here

Examples of org.opengis.geometry.PositionFactory.createDirectPosition()

    line3.add(new PositionImpl(positionFactory.createDirectPosition(new double[]{100, 40})));

    ArrayList<Position> line4 = new ArrayList<Position>();
    line4.add(new PositionImpl(positionFactory.createDirectPosition(new double[]{100, 40})));
    line4.add(new PositionImpl(positionFactory.createDirectPosition(new double[]{80, 30})));
    line4.add(new PositionImpl(positionFactory.createDirectPosition(new double[]{50, 20})));
   
    /* Setting up Array of these LineStrings */
    ArrayList<CurveSegment> tLineList1 = new ArrayList<CurveSegment>();
    tLineList1.add(tGeomFactory.createLineString(line1));
    tLineList1.add(tGeomFactory.createLineString(line2));
View Full Code Here

Examples of org.opengis.geometry.coordinate.GeometryFactory.createDirectPosition()

    ComplexFactory complf = builder.getComplexFactory();
    PrimitiveFactoryImpl pf = (PrimitiveFactoryImpl) builder.getPrimitiveFactory();
    GeometryFactory cf = builder.getGeometryFactory();

    List<DirectPosition> directPositionList = new ArrayList<DirectPosition>();
    directPositionList.add(cf.createDirectPosition(new double[] {20, 10}));
    directPositionList.add(cf.createDirectPosition(new double[] {40, 10}));
    directPositionList.add(cf.createDirectPosition(new double[] {50, 40}));
    directPositionList.add(cf.createDirectPosition(new double[] {30, 50}));
    directPositionList.add(cf.createDirectPosition(new double[] {10, 30}));
    directPositionList.add(cf.createDirectPosition(new double[] {20, 10}));
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.