类 ShapeUtil
- java.lang.Object
-
- org.meteoinfo.geometry.shape.ShapeUtil
-
public class ShapeUtil extends Object
- 作者:
- wyq
-
-
构造器概要
构造器 构造器 说明 ShapeUtil()
-
方法概要
-
-
-
方法详细资料
-
createPointShapes
public static List<PointShape> createPointShapes(List<Number> x, List<Number> y)
Create point shapes- 参数:
x- X coordinatesy- Y coordinates- 返回:
- Point shapes
-
createPointShapes
public static List<PointShape> createPointShapes(Array x, Array y)
Create point shapes- 参数:
x- X coordinatesy- Y coordinates- 返回:
- Point shapes
-
createPointShapes
public static List<PointZShape> createPointShapes(Array x, Array y, Array z, Array m)
Create PointZ shapes- 参数:
x- X coordinatesy- Y coordinatesz- Z coordinatesm- M coordinates- 返回:
- PointZ shapes
-
createPolylineShapes
public static List<PolylineShape> createPolylineShapes(List<Number> x, List<Number> y)
Create polyline shapes- 参数:
x- X coordinatesy- Y coordinates- 返回:
- Polyline shapes
-
createPolylineShape
public static PolylineShape createPolylineShape(Array x, Array y)
Create a polyline shape- 参数:
x- X coordinatesy- Y coordinates- 返回:
- Polyline shape
-
createPolylineShapes
public static List<PolylineShape> createPolylineShapes(Array x, Array y)
Create polyline shapes- 参数:
x- X coordinatesy- Y coordinates- 返回:
- Polyline shapes
-
createPolylineShapes
public static List<PolylineZShape> createPolylineShapes(Array x, Array y, Array z, Array m)
Create polylineZ shapes- 参数:
x- X coordinatesy- Y coordinatesz- Z coordinatesm- M coordinates- 返回:
- PolylineZ shapes
-
createPolygonShapes
public static List<PolygonShape> createPolygonShapes(List<Number> x, List<Number> y)
Create polygon shapes- 参数:
x- X coordinatesy- Y coordinates- 返回:
- Polygon shapes
-
createPolygonShapes
public static List<PolygonShape> createPolygonShapes(Array x, Array y)
Create polygon shapes- 参数:
x- X coordinatesy- Y coordinates- 返回:
- Polygon shapes
-
createPolygonShape
public static PolygonShape createPolygonShape(List<Number> x_p, List<Number> y_p)
Create polygon shape- 参数:
x_p- X coordinate listy_p- Y coordinate list- 返回:
- Polygon shape
-
createPolygonShape
public static PolygonShape createPolygonShape(List<List<Number>> xy)
Create polygon shape- 参数:
xy- X/Y coordinates- 返回:
- Polygon shape
-
createPolygon
public static PolygonShape createPolygon(Array xa, Array ya)
Create a polygon- 参数:
xa- X coordinate arrayya- Y coordinate array- 返回:
- PolygonShape
-
createPolygonShape
public static PolygonShape createPolygonShape(Array xy)
Create a polygon- 参数:
xa- X coordinate arrayya- Y coordinate array- 返回:
- PolygonShape
-
createCircleShape
public static CircleShape createCircleShape(float x, float y, float radius)
Add a circle- 参数:
x- Center xy- Center yradius-- 返回:
- Graphic
-
-