|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.ObjectwContour.Contour
public class Contour
Contour class - including the functions of contour
| 构造方法摘要 | |
|---|---|
Contour()
|
|
| 方法摘要 | |
|---|---|
static java.util.List<Polygon> |
clipPolygons(java.util.List<Polygon> polygons,
java.util.List<PointD> clipPList)
Clip polygons with a border polygon |
static java.util.List<PolyLine> |
clipPolylines(java.util.List<PolyLine> polylines,
java.util.List<PointD> clipPList)
Clip polylines with a border polygon |
static PointF |
getCrossPoint(PointF aP1,
PointF aP2,
PointF bP1,
PointF bP2)
Get cross point of two line segments |
static boolean |
isClockwise(java.util.List<PointD> pointList)
Determine if the point list is clockwise |
static boolean |
pointInPolygon(java.util.List<PointD> poly,
PointD aPoint)
Judge if a point is in a polygon |
static boolean |
pointInPolygon(Polygon aPolygon,
PointD aPoint)
Judge if a point is in a polygon |
static java.util.List<PolyLine> |
smoothLines(java.util.List<PolyLine> aLineList)
Smooth polylines |
static java.util.List<PointD> |
smoothPoints(java.util.List<PointD> pointList)
Smooth points |
static java.util.List<Border> |
tracingBorders(double[][] S0,
double[] X,
double[] Y,
int[][] S1,
double undefData)
Tracing contour borders of the grid data with undefined data. |
static java.util.List<PolyLine> |
tracingContourLines(double[][] S0,
double[] X,
double[] Y,
int nc,
double[] contour,
double undefData,
java.util.List<Border> borders,
int[][] S1)
Tracing contour lines from the grid data with undefine data |
static java.util.List<Polygon> |
tracingPolygons(double[][] S0,
java.util.List<PolyLine> cLineList,
java.util.List<Border> borderList,
double[] contour)
Tracing polygons from contour lines and borders |
static java.util.List<PolyLine> |
tracingStreamline(double[][] U,
double[][] V,
double[] X,
double[] Y,
double UNDEF,
int density)
Tracing stream lines |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public Contour()
| 方法详细信息 |
|---|
public static java.util.List<PolyLine> tracingContourLines(double[][] S0,
double[] X,
double[] Y,
int nc,
double[] contour,
double undefData,
java.util.List<Border> borders,
int[][] S1)
S0 - input grid dataX - X coordinate arrayY - Y coordinate arraync - number of contour valuescontour - contour value arrayundefData - Undefine databorders - bordersS1 - data flag array
public static java.util.List<Border> tracingBorders(double[][] S0,
double[] X,
double[] Y,
int[][] S1,
double undefData)
S0 - input grid dataX - x coordinate arrayY - y coordinate arrayS1 - data flag arrayundefData - undefine data
public static java.util.List<PolyLine> smoothLines(java.util.List<PolyLine> aLineList)
aLineList - polyline list
public static java.util.List<PointD> smoothPoints(java.util.List<PointD> pointList)
pointList - point list
public static java.util.List<Polygon> tracingPolygons(double[][] S0,
java.util.List<PolyLine> cLineList,
java.util.List<Border> borderList,
double[] contour)
S0 - input grid datacLineList - contour linesborderList - borderscontour - contour values
public static boolean pointInPolygon(java.util.List<PointD> poly,
PointD aPoint)
poly - polygon borderaPoint - point
public static boolean pointInPolygon(Polygon aPolygon,
PointD aPoint)
aPolygon - polygonaPoint - point
public static java.util.List<PolyLine> clipPolylines(java.util.List<PolyLine> polylines,
java.util.List<PointD> clipPList)
polylines - polyline listclipPList - clipping border point list
public static java.util.List<Polygon> clipPolygons(java.util.List<Polygon> polygons,
java.util.List<PointD> clipPList)
polygons - polygon listclipPList - clipping border point list
public static java.util.List<PolyLine> tracingStreamline(double[][] U,
double[][] V,
double[] X,
double[] Y,
double UNDEF,
int density)
U - U component arrayV - V component arrayX - X coordinate arrayY - Y coordinate arrayUNDEF - undefine datadensity - stream line density
public static boolean isClockwise(java.util.List<PointD> pointList)
pointList - point list
public static PointF getCrossPoint(PointF aP1,
PointF aP2,
PointF bP1,
PointF bP2)
aP1 - point 1 of line aaP2 - point 2 of line abP1 - point 1 of line bbP2 - point 2 of line b
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||