org.opencv.imgproc
Class Subdiv2D
java.lang.Object
org.opencv.imgproc.Subdiv2D
public class Subdiv2D
- extends java.lang.Object
Method Summary |
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)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NEXT_AROUND_DST
public static final int NEXT_AROUND_DST
- See Also:
- Constant Field Values
NEXT_AROUND_LEFT
public static final int NEXT_AROUND_LEFT
- See Also:
- Constant Field Values
NEXT_AROUND_ORG
public static final int NEXT_AROUND_ORG
- See Also:
- Constant Field Values
NEXT_AROUND_RIGHT
public static final int NEXT_AROUND_RIGHT
- See Also:
- Constant Field Values
PREV_AROUND_DST
public static final int PREV_AROUND_DST
- See Also:
- Constant Field Values
PREV_AROUND_LEFT
public static final int PREV_AROUND_LEFT
- See Also:
- Constant Field Values
PREV_AROUND_ORG
public static final int PREV_AROUND_ORG
- See Also:
- Constant Field Values
PREV_AROUND_RIGHT
public static final int PREV_AROUND_RIGHT
- See Also:
- Constant Field Values
PTLOC_ERROR
public static final int PTLOC_ERROR
- See Also:
- Constant Field Values
PTLOC_INSIDE
public static final int PTLOC_INSIDE
- See Also:
- Constant Field Values
PTLOC_ON_EDGE
public static final int PTLOC_ON_EDGE
- See Also:
- Constant Field Values
PTLOC_OUTSIDE_RECT
public static final int PTLOC_OUTSIDE_RECT
- See Also:
- Constant Field Values
PTLOC_VERTEX
public static final int PTLOC_VERTEX
- See Also:
- Constant Field Values
Subdiv2D
public Subdiv2D()
Subdiv2D
public Subdiv2D(Rect rect)
edgeDst
public int edgeDst(int edge)
edgeDst
public int edgeDst(int edge,
Point dstpt)
edgeOrg
public int edgeOrg(int edge)
edgeOrg
public int edgeOrg(int edge,
Point orgpt)
findNearest
public int findNearest(Point pt)
findNearest
public int findNearest(Point pt,
Point nearestPt)
getEdge
public int getEdge(int edge,
int nextEdgeType)
getEdgeList
public void getEdgeList(MatOfFloat4 edgeList)
getTriangleList
public void getTriangleList(MatOfFloat6 triangleList)
getVertex
public Point getVertex(int vertex)
getVertex
public Point getVertex(int vertex,
int[] firstEdge)
getVoronoiFacetList
public void getVoronoiFacetList(MatOfInt idx,
java.util.List<MatOfPoint2f> facetList,
MatOfPoint2f facetCenters)
initDelaunay
public void initDelaunay(Rect rect)
insert
public void insert(MatOfPoint2f ptvec)
insert
public int insert(Point pt)
locate
public int locate(Point pt,
int[] edge,
int[] vertex)
nextEdge
public int nextEdge(int edge)
rotateEdge
public int rotateEdge(int edge,
int rotate)
symEdge
public int symEdge(int edge)