Examples of generateLine()


Examples of com.esri.sde.sdk.client.SeShape.generateLine()

        try {
            if (geometry instanceof Point || gcol instanceof MultiPoint) {
                shape.generatePoint(points.length, points);
            } else if (geometry instanceof LineString || geometry instanceof MultiLineString) {
                shape.generateLine(points.length, numParts, partOffsets, points);
            } else {
                shape.generatePolygon(points.length, numParts, partOffsets, points);
            }
        } catch (SeException e) {
            ArcSdeException sdeEx = new ArcSdeException("Can't generate SeShape from " + geometry
View Full Code Here

Examples of com.esri.sde.sdk.client.SeShape.generateLine()

        SeShape point = new SeShape();
        int numParts = 1;
        int[] partOffsets = { 0 }; // index of each part's start in the gobal
        // coordinate array
        point.generateLine(numPts, numParts, partOffsets, ptArray);

        double[][][] coords = point.getAllCoords();

        assertEquals("Num of parts invalid", 1, coords.length);
View Full Code Here

Examples of com.esri.sde.sdk.client.SeShape.generateLine()

        SeShape point = new SeShape();
        int numParts = 2;
        int[] partOffsets = { 0, 2 }; // index of each part's start in the
        // gobal coordinate array
        point.generateLine(numPts, numParts, partOffsets, ptArray);

        double[][][] coords = point.getAllCoords();

        assertEquals("Num of parts invalid", numParts, coords.length);
View Full Code Here

Examples of com.esri.sde.sdk.client.SeShape.generateLine()

        try {
            if (jtsGeom instanceof Point || gcol instanceof MultiPoint) {
                shape.generatePoint(points.length, points);
            } else if (jtsGeom instanceof LineString || jtsGeom instanceof MultiLineString) {
                shape.generateLine(points.length, numParts, partOffsets, points);
            } else {
                shape.generatePolygon(points.length, numParts, partOffsets, points);
            }
        } catch (SeException e) {
            LOGGER.warning(e.getSeError().getErrDesc());
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.