Package oracle.sdoapi.geom

Examples of oracle.sdoapi.geom.Geometry


     * to express the feature.  No attempt is made to preserve the Oracle dimensions or curves.
     */
    public Geometry convert(Shape inFeature) throws oracle.sdoapi.geom.InvalidGeometryException {
        if (inFeature == null) return null;
        String tempType = inFeature.getShapeType();
        Geometry tempGeometry = null;

        if (tempType.equals(Shape.POINT)) tempGeometry = convertPoint((gistoolkit.features.Point) inFeature);
        else if (tempType.equals(Shape.LINESTRING)) tempGeometry = convertLineString((gistoolkit.features.LineString) inFeature);
        else if (tempType.equals(Shape.LINEARRING)) tempGeometry = convertLinearRing((gistoolkit.features.LinearRing) inFeature);
        else if (tempType.equals(Shape.POLYGON)) tempGeometry = convertPolygon((gistoolkit.features.Polygon) inFeature);
View Full Code Here

TOP

Related Classes of oracle.sdoapi.geom.Geometry

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.