Overview | Package | Class | Tree | Index | Help

OpenCV 2.4.3.1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.opencv.imgproc
Class Subdiv2D

    java.lang.Object
      org.opencv.imgproc.Subdiv2D

    public class Subdiv2D

extends java.lang.Object

Field Summary
`protected long` | `nativeObj`
`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`

Constructor Summary
`` | `Subdiv2D()`
`protected` | `Subdiv2D(long addr)`
`` | `Subdiv2D(Rect rect)`

Method Summary
`int` | `edgeDst(int edge)`
`int` | `edgeDst(int edge, Point dstpt)`
`int` | `edgeOrg(int edge)`
`int` | `edgeOrg(int edge, Point orgpt)`
`protected void` | `finalize()`
`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
`clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### nativeObj

    protected final long nativeObj

### 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

Constructor Detail

### Subdiv2D

    public Subdiv2D()

### Subdiv2D

    protected Subdiv2D(long addr)

### Subdiv2D

    public Subdiv2D(Rect rect)

Method Detail

### 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)

### finalize

    protected void finalize()
                     throws java.lang.Throwable

  Overrides:
    `finalize` in class `java.lang.Object`
  Throws:
    `java.lang.Throwable`

### 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)

Overview | Package | Class | Tree | Index | Help

Official OpenCV 2.4 Documentation
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD