Examples of ifCoord()


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

  private Geometry toSimpleGeometry(GeometryFactory factory, AbstractGeometryInfo geom) {
    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) {
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.