类 ShapeUtil
- java.lang.Object
-
- org.meteoinfo.shape.ShapeUtil
-
public class ShapeUtil extends java.lang.Object- 作者:
- wyq
-
-
构造器概要
构造器 构造器 说明 ShapeUtil()
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static CircleShapecreateCircleShape(float x, float y, float radius)Add a circlestatic java.util.List<PointShape>createPointShapes(java.util.List<java.lang.Number> x, java.util.List<java.lang.Number> y)Create point shapesstatic java.util.List<PointShape>createPointShapes(Array x, Array y)Create point shapesstatic java.util.List<PointZShape>createPointShapes(Array x, Array y, Array z, Array m)Create PointZ shapesstatic PolygonShapecreatePolygonShape(java.util.List<java.lang.Number> x_p, java.util.List<java.lang.Number> y_p)Create polygon shapestatic PolygonShapecreatePolygonShape(java.util.List<java.util.List<java.lang.Number>> xy)Create polygon shapestatic java.util.List<PolygonShape>createPolygonShapes(java.util.List<java.lang.Number> x, java.util.List<java.lang.Number> y)Create polygon shapesstatic java.util.List<PolygonShape>createPolygonShapes(Array x, Array y)Create polygon shapesstatic java.util.List<PolylineShape>createPolylineShapes(java.util.List<java.lang.Number> x, java.util.List<java.lang.Number> y)Create polyline shapesstatic java.util.List<PolylineShape>createPolylineShapes(Array x, Array y)Create polyline shapesstatic java.util.List<PolylineZShape>createPolylineShapes(Array x, Array y, Array z, Array m)Create polylineZ shapes
-
-
-
方法详细资料
-
createPointShapes
public static java.util.List<PointShape> createPointShapes(java.util.List<java.lang.Number> x, java.util.List<java.lang.Number> y)
Create point shapes- 参数:
x- X coordinatesy- Y coordinates- 返回:
- Point shapes
-
createPointShapes
public static java.util.List<PointShape> createPointShapes(Array x, Array y)
Create point shapes- 参数:
x- X coordinatesy- Y coordinates- 返回:
- Point shapes
-
createPointShapes
public static java.util.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 java.util.List<PolylineShape> createPolylineShapes(java.util.List<java.lang.Number> x, java.util.List<java.lang.Number> y)
Create polyline shapes- 参数:
x- X coordinatesy- Y coordinates- 返回:
- Polyline shapes
-
createPolylineShapes
public static java.util.List<PolylineShape> createPolylineShapes(Array x, Array y)
Create polyline shapes- 参数:
x- X coordinatesy- Y coordinates- 返回:
- Polyline shapes
-
createPolylineShapes
public static java.util.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 java.util.List<PolygonShape> createPolygonShapes(java.util.List<java.lang.Number> x, java.util.List<java.lang.Number> y)
Create polygon shapes- 参数:
x- X coordinatesy- Y coordinates- 返回:
- Polygon shapes
-
createPolygonShapes
public static java.util.List<PolygonShape> createPolygonShapes(Array x, Array y)
Create polygon shapes- 参数:
x- X coordinatesy- Y coordinates- 返回:
- Polygon shapes
-
createPolygonShape
public static PolygonShape createPolygonShape(java.util.List<java.lang.Number> x_p, java.util.List<java.lang.Number> y_p)
Create polygon shape- 参数:
x_p- X coordinate listy_p- Y coordinate list- 返回:
- Polygon shape
-
createPolygonShape
public static PolygonShape createPolygonShape(java.util.List<java.util.List<java.lang.Number>> xy)
Create polygon shape- 参数:
xy- X/Y coordinates- 返回:
- Polygon shape
-
createCircleShape
public static CircleShape createCircleShape(float x, float y, float radius)
Add a circle- 参数:
x- Center xy- Center yradius-- 返回:
- Graphic
-
-