Struct opencv::imgproc::Subdiv2D

source ·
pub struct Subdiv2D { /* private fields */ }

Implementations§

creates an empty Subdiv2D object. To create a new empty Delaunay subdivision you need to use the #initDelaunay function.

creates an empty Subdiv2D object. To create a new empty Delaunay subdivision you need to use the #initDelaunay function.

Overloaded parameters
Parameters
  • rect: Rectangle that includes all of the 2D points that are to be added to the subdivision.

    The function creates an empty Delaunay subdivision where 2D points can be added using the function insert() . All of the points to be added must be within the specified rectangle, otherwise a runtime error is raised.

Trait Implementations§

Wrap the specified raw pointer Read more
Return an the underlying raw pointer while consuming this wrapper. Read more
Return the underlying raw pointer. Read more
Return the underlying mutable raw pointer Read more
Executes the destructor for this type. Read more
Creates a new empty Delaunay subdivision Read more
Insert a single point into a Delaunay triangulation. Read more
Insert multiple points into a Delaunay triangulation. Read more
Returns the location of a point within a Delaunay triangulation. Read more
Finds the subdivision vertex closest to the given point. Read more
Returns a list of all Voronoi facets. Read more
Returns a list of all edges. Read more
Returns a list of the leading edge ID connected to each triangle. Read more
Returns a list of all triangles. Read more
Returns vertex location from vertex ID. Read more
Returns one of the edges related to the given edge. Read more
Returns next edge around the edge origin. Read more
Returns another edge of the same quad-edge. Read more
Returns the edge origin. Read more
Returns the edge destination. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.