public class ShapeUtil extends Object
| 构造器 | 说明 |
|---|---|
ShapeUtil() |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
static CircleShape |
createCircleShape(float x,
float y,
float radius) |
Add a circle
|
static List<PointShape> |
createPointShapes(List<Number> x,
List<Number> y) |
Create point shapes
|
static List<PointShape> |
createPointShapes(ucar.ma2.Array x,
ucar.ma2.Array y) |
Create point shapes
|
static List<PointZShape> |
createPointShapes(ucar.ma2.Array x,
ucar.ma2.Array y,
ucar.ma2.Array z,
ucar.ma2.Array m) |
Create PointZ shapes
|
static PolygonShape |
createPolygonShape(List<Number> x_p,
List<Number> y_p) |
Create polygon shape
|
static PolygonShape |
createPolygonShape(List<List<Number>> xy) |
Create polygon shape
|
static List<PolygonShape> |
createPolygonShapes(List<Number> x,
List<Number> y) |
Create polygon shapes
|
static List<PolygonShape> |
createPolygonShapes(ucar.ma2.Array x,
ucar.ma2.Array y) |
Create polygon shapes
|
static List<PolylineShape> |
createPolylineShapes(List<Number> x,
List<Number> y) |
Create polyline shapes
|
static List<PolylineShape> |
createPolylineShapes(ucar.ma2.Array x,
ucar.ma2.Array y) |
Create polyline shapes
|
static List<PolylineZShape> |
createPolylineShapes(ucar.ma2.Array x,
ucar.ma2.Array y,
ucar.ma2.Array z,
ucar.ma2.Array m) |
Create polylineZ shapes
|
public static List<PointShape> createPointShapes(List<Number> x, List<Number> y)
x - X coordinatesy - Y coordinatespublic static List<PointShape> createPointShapes(ucar.ma2.Array x, ucar.ma2.Array y)
x - X coordinatesy - Y coordinatespublic static List<PointZShape> createPointShapes(ucar.ma2.Array x, ucar.ma2.Array y, ucar.ma2.Array z, ucar.ma2.Array m)
x - X coordinatesy - Y coordinatesz - Z coordinatesm - M coordinatespublic static List<PolylineShape> createPolylineShapes(List<Number> x, List<Number> y)
x - X coordinatesy - Y coordinatespublic static List<PolylineShape> createPolylineShapes(ucar.ma2.Array x, ucar.ma2.Array y)
x - X coordinatesy - Y coordinatespublic static List<PolylineZShape> createPolylineShapes(ucar.ma2.Array x, ucar.ma2.Array y, ucar.ma2.Array z, ucar.ma2.Array m)
x - X coordinatesy - Y coordinatesz - Z coordinatesm - M coordinatespublic static List<PolygonShape> createPolygonShapes(List<Number> x, List<Number> y)
x - X coordinatesy - Y coordinatespublic static List<PolygonShape> createPolygonShapes(ucar.ma2.Array x, ucar.ma2.Array y)
x - X coordinatesy - Y coordinatespublic static PolygonShape createPolygonShape(List<Number> x_p, List<Number> y_p)
x_p - X coordinate listy_p - Y coordinate listpublic static PolygonShape createPolygonShape(List<List<Number>> xy)
xy - X/Y coordinatespublic static CircleShape createCircleShape(float x, float y, float radius)
x - Center xy - Center yradius - Copyright © 2019. All rights reserved.