com.esri.core.geometry.OperatorBoundary Java Examples

The following examples show how to use com.esri.core.geometry.OperatorBoundary. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: OGCMultiLineString.java    From geometry-api-java with Apache License 2.0 5 votes vote down vote up
@Override
public OGCGeometry boundary() {
	OperatorBoundary op = (OperatorBoundary) OperatorFactoryLocal
			.getInstance().getOperator(Operator.Type.Boundary);
	Geometry g = op.execute(polyline, null);
	return OGCGeometry.createFromEsriGeometry(g, esriSR, true);
}
 
Example #2
Source File: GeoFunctions.java    From Bats with Apache License 2.0 4 votes vote down vote up
/** Returns the boundary of {@code geom}. */
public static Geom ST_Boundary(Geom geom) {
  OperatorBoundary op = OperatorBoundary.local();
  Geometry result = op.execute(geom.g(), null);
  return geom.wrap(result);
}
 
Example #3
Source File: GeoFunctions.java    From Quicksql with MIT License 4 votes vote down vote up
/** Returns the boundary of {@code geom}. */
public static Geom ST_Boundary(Geom geom) {
  OperatorBoundary op = OperatorBoundary.local();
  Geometry result = op.execute(geom.g(), null);
  return geom.wrap(result);
}
 
Example #4
Source File: GeoFunctions.java    From calcite with Apache License 2.0 4 votes vote down vote up
/** Returns the boundary of {@code geom}. */
public static Geom ST_Boundary(Geom geom) {
  OperatorBoundary op = OperatorBoundary.local();
  Geometry result = op.execute(geom.g(), null);
  return geom.wrap(result);
}