Examples of ifCoordinates()


Examples of org.geomajas.sld.geometry.LineStringTypeInfo.ifCoordinates()

      }
    } else if (geom instanceof LineStringTypeInfo) {
      LineStringTypeInfo linestring = (LineStringTypeInfo) geom;
      if (linestring.ifCoordList()) {
        geometry = factory.createLineString(getCoordinates(linestring.getCoordList()));
      } else if (linestring.ifCoordinates()) {
        geometry = factory.createLineString(getCoordinates(linestring.getCoordinates()));
      }
    } else if (geom instanceof PolygonTypeInfo) {
      PolygonTypeInfo polygon = (PolygonTypeInfo) geom;
      OuterBoundaryIsInfo outer = polygon.getOuterBoundaryIs();
View Full Code Here

Examples of org.geomajas.sld.geometry.PointTypeInfo.ifCoordinates()

    Geometry geometry = null;
    if (geom instanceof PointTypeInfo) {
      PointTypeInfo point = (PointTypeInfo) geom;
      if (point.ifCoord()) {
        geometry = factory.createPoint(getCoordinates(Collections.singletonList(point.getCoord()))[0]);
      } else if (point.ifCoordinates()) {
        geometry = factory.createPoint(getCoordinates(point.getCoordinates())[0]);
      }
    } else if (geom instanceof LineStringTypeInfo) {
      LineStringTypeInfo linestring = (LineStringTypeInfo) geom;
      if (linestring.ifCoordList()) {
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.