Пример #1
0
 /**
  * Returns Y minima of a bounding box 2d or 3d or a geometry.
  *
  * @param expr geometry
  * @return y minima
  */
 public static NumberExpression<Double> ymin(JTSGeometryExpression<?> expr) {
   return Expressions.numberOperation(Double.class, SpatialOps.YMIN, expr);
 }
 /**
  * The area of this MultiSurface, as measured in the spatial reference system of this
  * MultiSurface.
  *
  * @return area
  */
 public NumberExpression<Double> area() {
   if (area == null) {
     area = Expressions.numberOperation(Double.class, SpatialOps.AREA, mixin);
   }
   return area;
 }
Пример #3
0
 /**
  * Returns X maxima of a bounding box 2d or 3d or a geometry.
  *
  * @param expr geometry
  * @return x maxima
  */
 public static NumberExpression<Double> xmax(JTSGeometryExpression<?> expr) {
   return Expressions.numberOperation(Double.class, SpatialOps.XMAX, expr);
 }
Пример #4
0
 /**
  * The number of Points in this LineString.
  *
  * @return number of points
  */
 public NumberExpression<Integer> numPoints() {
   if (numPoints == null) {
     numPoints = Expressions.numberOperation(Integer.class, SpatialOps.NUM_POINTS, mixin);
   }
   return numPoints;
 }