Package org.geotools.geometry.jts.spatialschema.geometry.primitive

Examples of org.geotools.geometry.jts.spatialschema.geometry.primitive.PointImpl


    /**
     * @inheritDoc
     * @see org.opengis.geometry.primitive.CurveSegment#getBoundary()
     */
    public CurveBoundary getBoundary() {
        return new CurveBoundaryImpl(null, new PointImpl(getStartPoint()), new PointImpl(getEndPoint()));
    }
View Full Code Here


                            "primitive had wrong number of boundary points (" +
                            coords.length + ")");
                }
                CoordinateReferenceSystem crs = getCoordinateReferenceSystem();
                CurveBoundaryImpl result = new CurveBoundaryImpl(crs,
                        new PointImpl(JTSUtils.coordinateToDirectPosition(
                                coords[0], crs)),
                        new PointImpl(JTSUtils.coordinateToDirectPosition(
                                coords[1], crs)));
                return result;
            }
        }
        else if (d == 2) {
View Full Code Here

TOP

Related Classes of org.geotools.geometry.jts.spatialschema.geometry.primitive.PointImpl

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.