org.opencv.imgproc
public class Subdiv2D extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
NEXT_AROUND_DST |
static int |
NEXT_AROUND_LEFT |
static int |
NEXT_AROUND_ORG |
static int |
NEXT_AROUND_RIGHT |
static int |
PREV_AROUND_DST |
static int |
PREV_AROUND_LEFT |
static int |
PREV_AROUND_ORG |
static int |
PREV_AROUND_RIGHT |
static int |
PTLOC_ERROR |
static int |
PTLOC_INSIDE |
static int |
PTLOC_ON_EDGE |
static int |
PTLOC_OUTSIDE_RECT |
static int |
PTLOC_VERTEX |
Modifier and Type | Method and Description |
---|---|
int |
edgeDst(int edge) |
int |
edgeDst(int edge,
Point dstpt) |
int |
edgeOrg(int edge) |
int |
edgeOrg(int edge,
Point orgpt) |
int |
findNearest(Point pt) |
int |
findNearest(Point pt,
Point nearestPt) |
int |
getEdge(int edge,
int nextEdgeType) |
void |
getEdgeList(MatOfFloat4 edgeList) |
void |
getTriangleList(MatOfFloat6 triangleList) |
Point |
getVertex(int vertex) |
Point |
getVertex(int vertex,
int[] firstEdge) |
void |
getVoronoiFacetList(MatOfInt idx,
java.util.List<MatOfPoint2f> facetList,
MatOfPoint2f facetCenters) |
void |
initDelaunay(Rect rect) |
void |
insert(MatOfPoint2f ptvec) |
int |
insert(Point pt) |
int |
locate(Point pt,
int[] edge,
int[] vertex) |
int |
nextEdge(int edge) |
int |
rotateEdge(int edge,
int rotate) |
int |
symEdge(int edge) |
public static final int NEXT_AROUND_DST
public static final int NEXT_AROUND_LEFT
public static final int NEXT_AROUND_ORG
public static final int NEXT_AROUND_RIGHT
public static final int PREV_AROUND_DST
public static final int PREV_AROUND_LEFT
public static final int PREV_AROUND_ORG
public static final int PREV_AROUND_RIGHT
public static final int PTLOC_ERROR
public static final int PTLOC_INSIDE
public static final int PTLOC_ON_EDGE
public static final int PTLOC_OUTSIDE_RECT
public static final int PTLOC_VERTEX
public Subdiv2D()
public Subdiv2D(Rect rect)
public int edgeDst(int edge)
public int edgeDst(int edge, Point dstpt)
public int edgeOrg(int edge)
public int edgeOrg(int edge, Point orgpt)
public int findNearest(Point pt)
public int getEdge(int edge, int nextEdgeType)
public void getEdgeList(MatOfFloat4 edgeList)
public void getTriangleList(MatOfFloat6 triangleList)
public Point getVertex(int vertex)
public Point getVertex(int vertex, int[] firstEdge)
public void getVoronoiFacetList(MatOfInt idx, java.util.List<MatOfPoint2f> facetList, MatOfPoint2f facetCenters)
public void initDelaunay(Rect rect)
public void insert(MatOfPoint2f ptvec)
public int insert(Point pt)
public int locate(Point pt, int[] edge, int[] vertex)
public int nextEdge(int edge)
public int rotateEdge(int edge, int rotate)
public int symEdge(int edge)