/** * Create an instance of {@link Point} * */ public static Point createPoint() { return new Point(); }
/** * Create an instance of {@link Point} * */ public static Point createPoint() { return new Point(); }
/** * Creates a new instance of {@link Point} and adds it to geometry. * This method is a short version for: * <code> * Point point = new Point(); * this.getGeometry().add(point); </code> * * */ public Point createAndAddPoint() { Point newValue = new Point(); this.getGeometry().add(newValue); return newValue; }
/** * Creates a new instance of {@link Point} and adds it to geometry. * This method is a short version for: * <code> * Point point = new Point(); * this.getGeometry().add(point); </code> * * */ public Point createAndAddPoint() { Point newValue = new Point(); this.getGeometry().add(newValue); return newValue; }
/** * Creates a new instance of {@link Point} and set it to geometry. * * This method is a short version for: * <code> * Point point = new Point(); * this.setGeometry(point); </code> * * */ public Point createAndSetPoint() { Point newValue = new Point(); this.setGeometry(newValue); return newValue; }
/** * Creates a new instance of {@link Point} and set it to geometry. * * This method is a short version for: * <code> * Point point = new Point(); * this.setGeometry(point); </code> * * */ public Point createAndSetPoint() { Point newValue = new Point(); this.setGeometry(newValue); return newValue; }
/** * Creates a new instance of {@link Point} and set it to point. * * This method is a short version for: * <code> * Point point = new Point(); * this.setPoint(point); </code> * * */ public Point createAndSetPoint() { Point newValue = new Point(); this.setPoint(newValue); return newValue; }
/** * Creates a new instance of {@link Point} and set it to point. * * This method is a short version for: * <code> * Point point = new Point(); * this.setPoint(point); </code> * * */ public Point createAndSetPoint() { Point newValue = new Point(); this.setPoint(newValue); return newValue; }
private de.micromata.opengis.kml.v_2_2_0.Point toKmlPoint(Coordinate c) { de.micromata.opengis.kml.v_2_2_0.Point result = new de.micromata.opengis.kml.v_2_2_0.Point(); if (Double.isNaN(c.z)) { result.addToCoordinates(c.x, c.y); } else { result.addToCoordinates(c.x, c.y, c.z); } return result; }